This commit is contained in:
2026-02-16 15:18:42 -07:00
parent 1a03da12c3
commit b65e4cbdae
7 changed files with 140 additions and 1 deletions

29
modules/home/ssh.nix Normal file
View File

@@ -0,0 +1,29 @@
{ ... }:
{
programs.ssh = {
enable = true;
extraConfig = ''
IdentityAgent /Users/atridad/.bitwarden-ssh-agent.sock
'';
matchBlocks = {
"localhost" = {
userKnownHostsFile = "/dev/null";
};
"tux" = {
hostname = "tuxworld.usask.ca";
user = "atl175";
};
"haschel" = {
hostname = "haschel";
user = "root";
};
"lloyd" = {
hostname = "lloyd";
user = "truenas_admin";
};
};
};
}