mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
nixos/sshd: add StrictModes option
This commit is contained in:
parent
3a7cda19dd
commit
eeabae56e7
1 changed files with 7 additions and 0 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue