mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
nixos/security: invariant option docs MD conversions
This commit is contained in:
parent
da37ca6760
commit
cbc44d68a7
|
@ -11,11 +11,11 @@ with lib;
|
|||
security.lockKernelModules = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
description = lib.mdDoc ''
|
||||
Disable kernel module loading once the system is fully initialised.
|
||||
Module loading is disabled until the next reboot. Problems caused
|
||||
by delayed module loading can be fixed by adding the module(s) in
|
||||
question to <option>boot.kernelModules</option>.
|
||||
question to {option}`boot.kernelModules`.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
@ -29,7 +29,7 @@ in
|
|||
if (subject.local) return "yes";
|
||||
});
|
||||
'';
|
||||
description =
|
||||
description = lib.mdDoc
|
||||
''
|
||||
Any polkit rules to be added to config (in JavaScript ;-). See:
|
||||
http://www.freedesktop.org/software/polkit/docs/latest/polkit.8.html#polkit-rules
|
||||
|
@ -40,12 +40,12 @@ in
|
|||
type = types.listOf types.str;
|
||||
default = [ "unix-group:wheel" ];
|
||||
example = [ "unix-user:alice" "unix-group:admin" ];
|
||||
description =
|
||||
description = lib.mdDoc
|
||||
''
|
||||
Specifies which users are considered “administrators”, for those
|
||||
actions that require the user to authenticate as an
|
||||
administrator (i.e. have an <literal>auth_admin</literal>
|
||||
value). By default, this is all users in the <literal>wheel</literal> group.
|
||||
administrator (i.e. have an `auth_admin`
|
||||
value). By default, this is all users in the `wheel` group.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue