nix/home-manager/common/software/cli/ssh.nix
2023-12-13 20:46:21 +09:00

10 lines
No EOL
278 B
Nix

{ 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
Host nixos-vm-01
ForwardAgent yes
'';
}