Add ssh config
This commit is contained in:
1
home/ssh/default.nix
Normal file
1
home/ssh/default.nix
Normal file
@@ -0,0 +1 @@
|
||||
{ imports = [ ./gunter.nix ]; }
|
12
home/ssh/gunter.nix
Normal file
12
home/ssh/gunter.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ pkgs, ... }: {
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
matchBlocks."bmo.uio.no" = {
|
||||
hostname = "bmo.uio.no";
|
||||
extraOptions = {
|
||||
ControlMaster = "auto";
|
||||
ControlPath = "$XDG_RUNTIME_DIR/ssh/%r@%h:%p";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user