From 5f51b7f5da988c2502c76ff86ad042ecf1699fa5 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Thu, 11 Jun 2020 18:41:11 +0200 Subject: [PATCH] ssh: add lan net to ssh config --- system/desktop/home-manager/ssh.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system/desktop/home-manager/ssh.nix b/system/desktop/home-manager/ssh.nix index e37c53e..089e208 100644 --- a/system/desktop/home-manager/ssh.nix +++ b/system/desktop/home-manager/ssh.nix @@ -25,6 +25,11 @@ with lib; { identitiesOnly = true; user = "root"; }; + "*.lan" = { + identityFile = "~/.ssh/card_rsa.pub"; + identitiesOnly = true; + user = "root"; + }; "*.ingolf-wagner.de" = { identityFile = "~/.ssh/card_rsa.pub"; identitiesOnly = true;