nixos/sshd: add StrictModes option

This commit is contained in:
Alyssa Ross
2019-09-08 00:25:04 +00:00
parent 3a7cda19dd
commit eeabae56e7

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