feat: init ssh config in home manager
This commit is contained in:
parent
d714b3cdae
commit
53f849e8b7
1 changed files with 24 additions and 0 deletions
|
@ -16,4 +16,28 @@
|
||||||
lazydocker
|
lazydocker
|
||||||
yt-dlp
|
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
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue