From baea08045d40e50609788f760918a2262bc823f2 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Thu, 2 Jan 2025 20:12:25 -0800 Subject: [PATCH] ssh: matchblocks reuse --- home/modules/ssh.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/home/modules/ssh.nix b/home/modules/ssh.nix index 0dfe4ba..1f4ea8c 100644 --- a/home/modules/ssh.nix +++ b/home/modules/ssh.nix @@ -45,11 +45,9 @@ in user = "ravenshade"; identityFile = keyPathIfSops "msiserver"; }; - "permafrost.local" = lib.mkIf cfg.homeNetwork { + "permafrost.local" = lib.mkIf cfg.homeNetwork (permafrost // { hostname = "permafrost"; - user = "ravenshade"; - identityFile = keyPathIfSops "msiserver"; - }; + }); caveserver = { identityFile = keyPathIfSops "caveserver"; };