From cf7e76d125ede40016bebf1d4480c2a1c478d2c3 Mon Sep 17 00:00:00 2001 From: sajenim Date: Mon, 22 Jan 2024 19:57:58 +0800 Subject: [PATCH] declare ssh key for host --- home-manager/sajenim/features/cli/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home-manager/sajenim/features/cli/default.nix b/home-manager/sajenim/features/cli/default.nix index 03ae654..cca3c8d 100644 --- a/home-manager/sajenim/features/cli/default.nix +++ b/home-manager/sajenim/features/cli/default.nix @@ -12,6 +12,9 @@ programs.ssh = { enable = true; - matchBlocks."viridian".hostname = "192.168.1.102"; + matchBlocks."viridian" = { + hostname = "192.168.1.102"; + identityFile = "/home/sajenim/.ssh/sajenim_sk"; + }; }; }