From 53f849e8b7637328bce7e7f44df8d20e03972556 Mon Sep 17 00:00:00 2001 From: notohh Date: Sun, 14 May 2023 23:03:59 -0400 Subject: [PATCH] feat: init ssh config in home manager --- home/default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/home/default.nix b/home/default.nix index 0d0a94d..15eb32c 100644 --- a/home/default.nix +++ b/home/default.nix @@ -16,4 +16,28 @@ lazydocker yt-dlp ]; + + programs.ssh = { + enable = true; + extraConfig = '' + Host hime + HostName 192.168.1.66 + User oh + IdentityFile /home/notoh/.ssh/hime + Host sutakku + HostName 192.168.1.72 + User oh + IdentityFile /home/notoh/.ssh/sutakku + Host sakura + HostName 192.168.1.25 + User notoh + IdentityFile /home/notoh/.ssh/sakura + Host pihole + Hostname 192.168.1.221 + User root + Host pve1 + Hostname 192.168.1.36 + User root + ''; + }; }