0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

nixos: fix bad mkEnableOption descriptions

Fix descriptions that don't account for (1) the "Whether to enable"
prefix or (2) the automatically added trailing dot.
This commit is contained in:
Bjørn Forsman 2023-10-18 22:59:26 +02:00 committed by Jörg Thalheim
parent ccf848f9dd
commit 142074c2a8
72 changed files with 121 additions and 121 deletions

View file

@ -79,7 +79,7 @@ in
// { default = true; internal = true; };
enableValidation = lib.mkEnableOption (lib.mdDoc ''the validation of bootspec documents for each build.
This will introduce Go in the build-time closure as we are relying on [Cuelang](https://cuelang.org/) for schema validation.
Enable this option if you want to ascertain that your documents are correct.
Enable this option if you want to ascertain that your documents are correct
''
);

View file

@ -12,7 +12,7 @@ with lib;
];
options = {
boot.growPartition = mkEnableOption (lib.mdDoc "grow the root partition on boot");
boot.growPartition = mkEnableOption (lib.mdDoc "growing the root partition on boot");
};
config = mkIf config.boot.growPartition {

View file

@ -12,7 +12,7 @@ in
};
options.boot.loader.external = {
enable = mkEnableOption (lib.mdDoc "use an external tool to install your bootloader");
enable = mkEnableOption (lib.mdDoc "using an external tool to install your bootloader");
installHook = mkOption {
type = with types; path;

View file

@ -5,7 +5,7 @@ let
in
{
options.services.homed.enable = lib.mkEnableOption (lib.mdDoc ''
Enable systemd home area/user account manager
systemd home area/user account manager
'');
config = lib.mkIf cfg.enable {

View file

@ -5,7 +5,7 @@ let
in
{
options.services.userdbd.enable = lib.mkEnableOption (lib.mdDoc ''
Enables the systemd JSON user/group record lookup service
the systemd JSON user/group record lookup service
'');
config = lib.mkIf cfg.enable {
systemd.additionalUpstreamSystemUnits = [