From 0f1bc502c614483981fc19035608b70cfe103910 Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Fri, 7 Mar 2025 20:49:42 -0500 Subject: [PATCH] user ssh config --- modules/users/crow/configs/ssh.nix | 15 +++++++++++++++ modules/users/crow/home.nix | 1 + 2 files changed, 16 insertions(+) create mode 100644 modules/users/crow/configs/ssh.nix diff --git a/modules/users/crow/configs/ssh.nix b/modules/users/crow/configs/ssh.nix new file mode 100644 index 0000000..ebbad32 --- /dev/null +++ b/modules/users/crow/configs/ssh.nix @@ -0,0 +1,15 @@ +{ + programs.ssh = { + enable = true; + extraConfig = '' + Host github.com + User git + PreferredAuthentications publickey + IdentityFile /home/crow/.ssh.id_ed25519 + Host Overseer + User overseer + HostName 192.168.0.30 + IdentityFile /home/crow/.ssh/wanderingcrow + ''; + }; +} diff --git a/modules/users/crow/home.nix b/modules/users/crow/home.nix index d43ad5f..217d427 100644 --- a/modules/users/crow/home.nix +++ b/modules/users/crow/home.nix @@ -27,6 +27,7 @@ in { ./configs/tmux.nix ./configs/git.nix ./configs/direnv.nix + ./configs/ssh.nix ]; home = { username = "crow";