Files
garandos/modules/home/ssh.nix
T
GarandPLG 8f9b707c2d Switch to Headscale and disable Ungoogled Chromium
Disable ungoogled‑chromium and rename all tailscale aliases to
headscale,
updating the SSH host entry and its IP address.
2026-05-25 13:25:36 +02:00

28 lines
690 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-headscale" = {
hostname = "100.64.0.2";
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;
};
};
};
}