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/services/system | |
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/services/system')
-rw-r--r-- | nixos/modules/services/system/earlyoom.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/system/systembus-notify.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/system/earlyoom.nix b/nixos/modules/services/system/earlyoom.nix index 3f501d453460..38805eba2ca1 100644 --- a/nixos/modules/services/system/earlyoom.nix +++ b/nixos/modules/services/system/earlyoom.nix @@ -11,7 +11,7 @@ let in { options.services.earlyoom = { - enable = mkEnableOption (lib.mdDoc "Early out of memory killing"); + enable = mkEnableOption (lib.mdDoc "early out of memory killing"); freeMemThreshold = mkOption { type = types.ints.between 1 100; diff --git a/nixos/modules/services/system/systembus-notify.nix b/nixos/modules/services/system/systembus-notify.nix index 269197b3997e..f79879fa1360 100644 --- a/nixos/modules/services/system/systembus-notify.nix +++ b/nixos/modules/services/system/systembus-notify.nix @@ -13,7 +13,7 @@ in WARNING: enabling this option (while convenient) should *not* be done on a machine where you do not trust the other users as it allows any other - local user to DoS your session by spamming notifications. + local user to DoS your session by spamming notifications ''); }; |