diff --git a/home/terminal/ssh/default.nix b/home/terminal/ssh/default.nix index d69d2fe..035172a 100644 --- a/home/terminal/ssh/default.nix +++ b/home/terminal/ssh/default.nix @@ -1,6 +1,9 @@ -{ +{ lib, config, ... }: +let + inherit (lib) mkIf; +in +mkIf config.programs.ssh.enable { programs.ssh = { - enable = true; addKeysToAgent = "confirm"; matchBlocks = { deck = { diff --git a/hosts/brontes/home.nix b/hosts/brontes/home.nix index 6076fa1..f0687a5 100644 --- a/hosts/brontes/home.nix +++ b/hosts/brontes/home.nix @@ -19,6 +19,7 @@ programs = { waybar.enable = true; + ssh.enable = true; }; services = { diff --git a/hosts/marr/home.nix b/hosts/marr/home.nix index 61cb69a..d2680d8 100644 --- a/hosts/marr/home.nix +++ b/hosts/marr/home.nix @@ -23,6 +23,7 @@ programs.direnv = { enable = true; nix-direnv.enable = true; + ssh.enable = true; }; programs = {