Ahh, it's ssh the program, not the service

This commit is contained in:
niten 2025-01-30 08:34:36 -08:00
parent 1070808ecf
commit 3e0337123c

View File

@ -293,6 +293,7 @@ in {
};
programs.ssh = {
package = pkgs.openssh_hpnWithKerberos;
extraConfig = ''
GSSAPIAuthentication yes
GSSAPIDelegateCredentials yes
@ -307,10 +308,7 @@ in {
services = {
openssh = {
enable = true;
package = if (!isNull cfg.kerberos) then
pkgs.openssh_hpnWithKerberos
else
pkgs.openssh_hpn;
package = pkgs.openssh_hpnWithKerberos;
startWhenNeeded = true;
permitRootLogin = "no";
hostKeys = map (keypair: {