Files
garandos/modules/home/ssh.nix
T
GarandPLG eb2c93805a Update flake.lock, disable affinity, add SSH host
Refresh flake.lock with newer revisions for several packages, turn off
the
Affinity suite in the desktop configuration, and add a new SSH host
entry
for gitssh.garandplg.com with its own identity and port settings.
2026-05-05 21:42:28 +02:00

28 lines
698 B
Nix

{username, ...}: {
programs.ssh = {
enable = true;
enableDefaultConfig = false;
matchBlocks = {
"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;
};
};
};
}