nix/home-manager/common/software/cli/ssh.nix
2025-01-16 14:04:34 -08:00

12 lines
344 B
Nix

{ config, pkgs, ... }: {
# Disable strict host key checking for
# 192.168.1.210 - framework-server
# 192.168.1.35 - nuc-server
# The key will change between boot and live for LUKS unlocking
home.file.".ssh/config".text = ''
Host 192.168.1.210
StrictHostKeyChecking no
Host 192.168.1.35 #
StrictHostKeyChecking no
'';
}