diff options
Diffstat (limited to 'home/environ/ssh.nix')
| -rw-r--r-- | home/environ/ssh.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/home/environ/ssh.nix b/home/environ/ssh.nix index 6426dc8..d363baf 100644 --- a/home/environ/ssh.nix +++ b/home/environ/ssh.nix @@ -1,8 +1,12 @@ -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: with lib; let cfg = config.local.environ; -in -{ +in { config = mkIf cfg.enable { programs.ssh = { enable = true; |
