???
This commit is contained in:
29
modules/home/ssh.nix
Normal file
29
modules/home/ssh.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user