Files
garandos/modules/home/ssh.nix
T
GarandPLG 0a3cff7b74 Update flake.lock, bump helium, and fix SSH config
Refresh locked revisions in flake.lock to newer commits, update the
helium
AppImage to version 0.12.4.1, and replace the SSH module's matchBlocks
attribute with the new settings attribute.
2026-05-23 15:39:38 +02:00

28 lines
695 B
Nix

{username, ...}: {
programs.ssh = {
enable = true;
enableDefaultConfig = false;
settings = {
"hp-t640-homeserver" = {
hostname = "192.168.1.156";
user = "${username}";
port = 22;
identityFile = "~/.ssh/hp-t640-homeserver";
};
"hp-t640-homeserver-tailscale" = {
hostname = "100.106.225.106";
user = "${username}";
port = 22;
identityFile = "~/.ssh/hp-t640-homeserver";
};
"gitssh.garandplg.com" = {
hostname = "gitssh.garandplg.com";
user = "git";
port = 222;
identityFile = "~/.ssh/id_ed25519_gitea";
identitiesOnly = true;
};
};
};
}