nixos/security: invariant option docs MD conversions

pennae cbc44d68 da37ca67

Changed files
+6 -6
nixos
+2 -2
nixos/modules/security/lock-kernel-modules.nix
···
security.lockKernelModules = mkOption {
type = types.bool;
default = false;
-
description = ''
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>.
'';
};
};
···
security.lockKernelModules = mkOption {
type = types.bool;
default = false;
+
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`.
'';
};
};
+4 -4
nixos/modules/security/polkit.nix
···
if (subject.local) return "yes";
});
'';
-
description =
''
Any polkit rules to be added to config (in JavaScript ;-). See:
http://www.freedesktop.org/software/polkit/docs/latest/polkit.8.html#polkit-rules
···
type = types.listOf types.str;
default = [ "unix-group:wheel" ];
example = [ "unix-user:alice" "unix-group:admin" ];
-
description =
''
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.
'';
};
···
if (subject.local) return "yes";
});
'';
+
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
···
type = types.listOf types.str;
default = [ "unix-group:wheel" ];
example = [ "unix-user:alice" "unix-group:admin" ];
+
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 `auth_admin`
+
value). By default, this is all users in the `wheel` group.
'';
};