Ahh, it's ssh the program, not the service
This commit is contained in:
parent
1070808ecf
commit
3e0337123c
@ -293,6 +293,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
|
package = pkgs.openssh_hpnWithKerberos;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
GSSAPIAuthentication yes
|
GSSAPIAuthentication yes
|
||||||
GSSAPIDelegateCredentials yes
|
GSSAPIDelegateCredentials yes
|
||||||
@ -307,10 +308,7 @@ in {
|
|||||||
services = {
|
services = {
|
||||||
openssh = {
|
openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = if (!isNull cfg.kerberos) then
|
package = pkgs.openssh_hpnWithKerberos;
|
||||||
pkgs.openssh_hpnWithKerberos
|
|
||||||
else
|
|
||||||
pkgs.openssh_hpn;
|
|
||||||
startWhenNeeded = true;
|
startWhenNeeded = true;
|
||||||
permitRootLogin = "no";
|
permitRootLogin = "no";
|
||||||
hostKeys = map (keypair: {
|
hostKeys = map (keypair: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user