diff --git a/modules/base/usr/ssh-all.nix b/modules/base/usr/ssh-all.nix index 0176b88..0d66058 100644 --- a/modules/base/usr/ssh-all.nix +++ b/modules/base/usr/ssh-all.nix @@ -14,15 +14,18 @@ path = "${config.home.homeDirectory}/.ssh/extern"; mode = "0600"; }; - programs.ssh.matchBlocks = { - "intern" = { - host = "*"; - identityFile = "${config.home.homeDirectory}/.ssh/intern"; + programs.ssh = { + enable = true; + matchBlocks = { + "intern" = { + host = "*"; + identityFile = "${config.home.homeDirectory}/.ssh/intern"; + }; + "extern" = { + host = "*"; + identityFile = "${config.home.homeDirectory}/.ssh/extern"; + }; }; - "extern" = { - host = "*"; - identityFile = "${config.home.homeDirectory}/.ssh/extern"; - }; - }; + }; }; }