Commit 142074c2 authored by Bjørn Forsman's avatar Bjørn Forsman Committed by Jörg Thalheim
Browse files

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.
parent ccf848f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 = "";
+1 −1
Original line number Diff line number Diff line
@@ -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" ]);
+2 −2
Original line number Diff line number Diff line
@@ -8,13 +8,13 @@ in
{
  options.programs.corectrl = {
    enable = mkEnableOption (lib.mdDoc ''
      A tool to overclock amd graphics cards and processors.
      CoreCtrl, a tool to overclock amd graphics cards and processors.
      Add your user to the corectrl group to run corectrl without needing to enter your password
    '');

    gpuOverclock = {
      enable = mkEnableOption (lib.mdDoc ''
        true
        GPU overclocking
      '');
      ppfeaturemask = mkOption {
        type = types.str;
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ in
    enable = mkEnableOption (lib.mdDoc ''
      i2c devices support. By default access is granted to users in the "i2c"
      group (will be created if non-existent) and any user with a seat, meaning
      logged on the computer locally.
      logged on the computer locally
    '');

    group = mkOption {
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ in
      non-root access to the firmware of UHK keyboards.
      You need it when you want to flash a new firmware on the keyboard.
      Access to the keyboard is granted to users in the "input" group.
      You may want to install the uhk-agent package.
      You may want to install the uhk-agent package
    '');

  };
Loading