nixos-config/modules/nixos/programs/ssh.nix
wo2wz 0d2138970e ssh: remove redundant ksshaskpass config, rotate ips
the local ips will become outdated again in 2 minutes
2025-10-26 19:22:21 -04:00

19 lines
No EOL
367 B
Nix
Executable file

{ config, pkgs, ... }:
{
programs.ssh = {
startAgent = true;
enableAskPassword = true;
extraConfig = "
IdentityFile /home/wo2w/.ssh/yubikey
User wo2w
Port 8743
Host gameserver
Hostname 192.168.2.112
Host Swordsmachine
Hostname 192.168.2.74
Host Earthmover
Hostname 192.168.2.175
";
};
}