Update openssh config to follow renames.
This commit is contained in:
parent
663ee59f82
commit
446abd5231
1 changed files with 5 additions and 3 deletions
|
@ -12,9 +12,11 @@ mkIf (elem "openssh" config.machine.services) {
|
|||
kexAlgorithms = [ "curve25519-sha256@libssh.org" ];
|
||||
sftpFlags = [ "-f AUTHPRIV" "-l INFO" ];
|
||||
startWhenNeeded = true;
|
||||
challengeResponseAuthentication = false;
|
||||
passwordAuthentication = false;
|
||||
permitRootLogin = "no";
|
||||
settings = {
|
||||
KbdInteractiveAuthentication = false;
|
||||
PasswordAuthentication = false;
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
extraConfig = let users = concatMapStrings (user: "${user.name} ") config.machine.administrators
|
||||
+ (optionalString config.services.gitea.enable (config.services.gitea.user + " "));
|
||||
in ''
|
||||
|
|
Loading…
Reference in a new issue