mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-02-01 19:13:57 -05:00
user ssh config
This commit is contained in:
parent
601ba09df5
commit
0f1bc502c6
2 changed files with 16 additions and 0 deletions
15
modules/users/crow/configs/ssh.nix
Normal file
15
modules/users/crow/configs/ssh.nix
Normal 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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
@ -27,6 +27,7 @@ in {
|
|||
./configs/tmux.nix
|
||||
./configs/git.nix
|
||||
./configs/direnv.nix
|
||||
./configs/ssh.nix
|
||||
];
|
||||
home = {
|
||||
username = "crow";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue