diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2023-10-18 22:59:26 +0200 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2023-10-20 16:22:40 +0100 |
commit | 142074c2a84ea2f018ed729e9ff6ee97c4f022b8 (patch) | |
tree | d63ed24230dc4d43156109a6c8cb4d655e921ed3 /nixos/modules/config | |
parent | ccf848f9dd1ac4fb7f9c9ef595aaca9f6cedd60c (diff) | |
download | nixlib-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar nixlib-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar.gz nixlib-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar.bz2 nixlib-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar.lz nixlib-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar.xz nixlib-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar.zst nixlib-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.zip |
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.
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/iproute2.nix | 2 | ||||
-rw-r--r-- | nixos/modules/config/stevenblack.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/config/iproute2.nix b/nixos/modules/config/iproute2.nix index 8f49e7dbf7de..7e4fb4d848e3 100644 --- a/nixos/modules/config/iproute2.nix +++ b/nixos/modules/config/iproute2.nix @@ -7,7 +7,7 @@ let in { options.networking.iproute2 = { - enable = mkEnableOption (lib.mdDoc "copy IP route configuration files"); + enable = mkEnableOption (lib.mdDoc "copying IP route configuration files"); rttablesExtraConfig = mkOption { type = types.lines; default = ""; diff --git a/nixos/modules/config/stevenblack.nix b/nixos/modules/config/stevenblack.nix index 07a0aa339a56..30ef7ff259f0 100644 --- a/nixos/modules/config/stevenblack.nix +++ b/nixos/modules/config/stevenblack.nix @@ -15,7 +15,7 @@ let in { options.networking.stevenblack = { - enable = mkEnableOption (mdDoc "Enable the stevenblack hosts file blocklist"); + enable = mkEnableOption (mdDoc "the stevenblack hosts file blocklist"); block = mkOption { type = types.listOf (types.enum [ "fakenews" "gambling" "porn" "social" ]); |