From 60fe980797b2b7b1b7bca046d2b05fc56360af1a Mon Sep 17 00:00:00 2001 From: Mohamed Chrayed Date: Sun, 8 Mar 2026 22:24:54 +0100 Subject: [PATCH] debug ssh --- modules/base/usr/ssh-all.nix | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) 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"; - }; - }; + }; }; }