user ssh config

This commit is contained in:
TheWanderingCrow 2025-03-07 20:49:42 -05:00
parent 601ba09df5
commit 0f1bc502c6
2 changed files with 16 additions and 0 deletions

View file

@ -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
'';
};
}

View file

@ -27,6 +27,7 @@ in {
./configs/tmux.nix
./configs/git.nix
./configs/direnv.nix
./configs/ssh.nix
];
home = {
username = "crow";