Merge pull request #236303 from alyssais/StrictModes

nixos/sshd: add StrictModes option
This commit is contained in:
Pol Dellaiera 2023-06-07 15:53:20 +02:00 committed by GitHub
commit fdcc0ecf37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -375,6 +375,13 @@ in
<https://infosec.mozilla.org/guidelines/openssh#modern-openssh-67>
'';
};
StrictModes = mkOption {
type = types.bool;
default = true;
description = lib.mdDoc ''
Whether sshd should check file modes and ownership of directories
'';
};
Ciphers = mkOption {
type = types.listOf types.str;
default = [