nixos/home-manager/software/ssh/default.nix

25 lines
563 B
Nix
Raw Normal View History

2022-06-29 21:35:27 +02:00
{ ... }: {
programs.ssh = {
enable = true;
extraConfig = ''
Host nixos.2li.local
2022-06-29 21:40:40 +02:00
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
User nixos
LogLevel QUIET
2022-06-29 21:35:27 +02:00
2022-08-31 18:53:54 +02:00
Host sensors.2li.local
User ubuntu
IdentityFile ~/.nixos/secrets/ssh_keys/ansible/ansible.key
2022-06-29 21:35:27 +02:00
Host *.2li.local
2022-06-29 21:40:40 +02:00
User andreas
IdentityFile ~/.nixos/secrets/ssh_keys/ansible/ansible.key
2022-06-29 21:35:27 +02:00
Host 10.7.89.*
2022-06-29 21:40:40 +02:00
User andreas
IdentityFile ~/.nixos/secrets/ssh_keys/ansible/ansible.key
2022-06-29 21:35:27 +02:00
'';
};
}