mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
nixos/sshd: add StrictModes option
This commit is contained in:
parent
3a7cda19dd
commit
eeabae56e7
@ -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 = [
|
||||||
|
Loading…
Reference in New Issue
Block a user