Add ssh config

This commit is contained in:
2024-03-04 08:14:08 +01:00
parent c11bc57eb2
commit 705c9ba011
7 changed files with 24 additions and 7 deletions

1
home/ssh/default.nix Normal file
View File

@@ -0,0 +1 @@
{ imports = [ ./gunter.nix ]; }

12
home/ssh/gunter.nix Normal file
View 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";
};
};
};
}