diff --git a/modules/base/usr/ssh-all.nix b/modules/base/usr/ssh-all.nix index 0d66058..bc890c0 100644 --- a/modules/base/usr/ssh-all.nix +++ b/modules/base/usr/ssh-all.nix @@ -16,14 +16,13 @@ }; programs.ssh = { enable = true; + enableDefaultConfig = false; matchBlocks = { - "intern" = { - host = "*"; - identityFile = "${config.home.homeDirectory}/.ssh/intern"; - }; - "extern" = { - host = "*"; - identityFile = "${config.home.homeDirectory}/.ssh/extern"; + "*" = { + identityFile = [ + "${config.home.homeDirectory}/.ssh/intern" + "${config.home.homeDirectory}/.ssh/extern" + ]; }; }; };