1

Modules/SSH: Update for new HM update

This commit is contained in:
2026-06-05 12:36:39 +02:00
parent 48bd5f4bcd
commit cb22c507cf

View File

@ -15,44 +15,44 @@ in {
enable = true; enable = true;
enableDefaultConfig = false; enableDefaultConfig = false;
matchBlocks = { settings = {
"*" = { "*" = {
forwardAgent = false; ForwardAgent = false;
addKeysToAgent = AddKeysToAgent =
if pkgs.stdenv.isLinux if pkgs.stdenv.isLinux
then "no" then "no"
else "yes"; # Don't have keychain on darwin else "yes"; # Don't have keychain on darwin
compression = true; Compression = true;
serverAliveInterval = 0; ServerAliveInterval = 0;
serverAliveCountMax = 3; ServerAliveCountMax = 3;
hashKnownHosts = false; HashKnownHosts = false;
userKnownHostsFile = "~/.ssh/known_hosts"; UserKnownHostsFile = "~/.ssh/known_hosts";
controlMaster = "no"; ControlMaster = "no";
controlPath = "~/.ssh/master-%r@%n:%p"; ControlPath = "~/.ssh/master-%r@%n:%p";
controlPersist = "no"; ControlPersist = "no";
}; };
"nixinator" = { "nixinator" = {
port = 5432; Port = 5432;
user = "christoph"; User = "christoph";
hostname = "vps.chriphost.de"; HostName = "vps.chriphost.de";
}; };
"servenix" = { "servenix" = {
user = "christoph"; User = "christoph";
hostname = "local.chriphost.de"; HostName = "local.chriphost.de";
}; };
"thinknix" = { "thinknix" = {
user = "christoph"; User = "christoph";
hostname = "think.chriphost.de"; HostName = "think.chriphost.de";
}; };
"vps" = { "vps" = {
user = "root"; User = "root";
hostname = "vps.chriphost.de"; HostName = "vps.chriphost.de";
}; };
"mars" = { "mars" = {
user = "smchurla"; User = "smchurla";
hostname = "mars.cs.tu-dortmund.de"; HostName = "mars.cs.tu-dortmund.de";
serverAliveInterval = 60; ServerAliveInterval = 60;
localForwards = [ LocalForward = [
{ {
# Resultbrowser # Resultbrowser
bind.port = 22941; bind.port = 22941;