Compare commits

...

2 commits

Author SHA1 Message Date
946fb56e49
moved ssh config to home manager 2025-10-30 12:22:07 +01:00
608b392e56
jumphost for infra 2025-10-30 11:57:07 +01:00
2 changed files with 29 additions and 1 deletions

View file

@ -80,7 +80,6 @@
dnsovertls = "true"; dnsovertls = "true";
}; };
services.gvfs.enable = true; services.gvfs.enable = true;
# VPN services # VPN services

View file

@ -120,6 +120,35 @@ in
sway-contrib.grimshot sway-contrib.grimshot
]); ]);
# Jumphost for deployment on infra
programs.ssh = {
enable = true;
enableDefaultConfig = false;
matchBlocks = {
"infra.cdaut.de" = {
hostname = "infra.cdaut.de";
user = "clara";
forwardAgent = true;
};
"10.0.0.2" = {
hostname = "10.0.0.2";
proxyJump = "infra.cdaut.de";
};
"*" = {
forwardAgent = true;
addKeysToAgent = "no";
compression = false;
serverAliveInterval = 0;
serverAliveCountMax = 3;
hashKnownHosts = false;
userKnownHostsFile = "~/.ssh/known_hosts";
controlMaster = "no";
controlPath = "~/.ssh/master-%r@%n:%p";
controlPersist = "no";
};
};
};
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;