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
@@ -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 = [