Commit f487e1f2cbcd
profiles/ssh.nix
@@ -5,11 +5,6 @@
openssh = {
enable = true;
startWhenNeeded = false;
- extraConfig = with import ../assets/machines.nix; ''
-Host kerkouane kerkouane.sbr.pm
- Hostname kerkouane.sbr.pm
- Port ${toString ssh.kerkouane.port}
- '';
};
};
programs.mosh.enable = true;
profiles/users.nix
@@ -16,5 +16,10 @@
subGidRanges = [{ startGid = 100000; count = 65536; }];
};
};
- };
+ };
+ programs.ssh.extraConfig = with import ../assets/machines.nix; ''
+Host kerkouane kerkouane.sbr.pm
+ Hostname kerkouane.sbr.pm
+ Port ${toString ssh.kerkouane.port}
+ '';
}