2023-12-01 03:13:39 +01:00
|
|
|
{ config, pkgs, ... }: {
|
|
|
|
# Disable strict host key checking for 192.168.1.210
|
|
|
|
# The key will change between boot and live for LUKS unlocking
|
|
|
|
home.file.".ssh/config".text = ''
|
|
|
|
Host 192.168.1.210
|
|
|
|
StrictHostKeyChecking no
|
2023-12-13 12:35:50 +01:00
|
|
|
Host nixos-vm-01
|
|
|
|
IdentifyFile ~/.ssh/id_rsa
|
|
|
|
ForwardAgent yes
|
2023-12-01 03:13:39 +01:00
|
|
|
'';
|
2023-12-01 03:14:55 +01:00
|
|
|
}
|