nixos/sshd: add StrictModes option

This commit is contained in:
Alyssa Ross 2019-09-08 00:25:04 +00:00
parent 3a7cda19dd
commit eeabae56e7
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -375,6 +375,13 @@ in
<https://infosec.mozilla.org/guidelines/openssh#modern-openssh-67> <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 { Ciphers = mkOption {
type = types.listOf types.str; type = types.listOf types.str;
default = [ default = [