nix/home-manager/common/software/cli/ssh.nix

13 lines
396 B
Nix
Raw Normal View History

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
2024-05-03 16:42:02 +02:00
Host
Hostname framework-server
StreamLocalBindUnlink yes
RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/1000/gnupg/S.gpg-agent.extra
2023-12-01 03:13:39 +01:00
'';
2024-05-03 16:42:02 +02:00
}