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";