From 7bdb3b677508516d25e899cc2a0d7e65f6a7f0aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Gro=C3=9Fmann?= Date: Sun, 22 Jan 2023 14:25:02 +0100 Subject: [PATCH] fix: Fixed ssh config to include Identity file for server --- users/common/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/users/common/default.nix b/users/common/default.nix index 5d1f518..118b127 100644 --- a/users/common/default.nix +++ b/users/common/default.nix @@ -44,7 +44,7 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHxD4GOrwrBTG4/qQhm5hoSB2CP7W9g1LPWP11oLGOjQ enable = true; matchBlocks = let - identityFile = [ "~/.ssh/1" "~/.ssh/2" ]; + identityFile = [ "~/.ssh/1.pub" "~/.ssh/2.pub" ]; in { "elisabeth" = { @@ -62,6 +62,9 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHxD4GOrwrBTG4/qQhm5hoSB2CP7W9g1LPWP11oLGOjQ user = "patrick"; inherit identityFile; }; + "*.lel.lol" = { + inherit identityFile; + }; "*" = { identitiesOnly = true; };