git.iko.soy/typeable/nixpkgs
on master help sign in
cleanup redundant text in modules utilizing mkEnableOption

Closes #59911

commit4a11ce7f261396d06a92b76df702b16dc01b81ca authorAaron Andersen <aaron@fosslib.net> dateFri 19 Apr 2019, 21:41 (8 years ago) parent297f8c5
26 files changed+30−29
nixos/modules/services/admin/oxidized.nix+1−1 nixos/modules/services/cluster/kubernetes/addon-manager.nix+1−1 nixos/modules/services/cluster/kubernetes/controller-manager.nix+1−1 nixos/modules/services/cluster/kubernetes/flannel.nix+1−1 nixos/modules/services/cluster/kubernetes/pki.nix+1−1 nixos/modules/services/cluster/kubernetes/proxy.nix+1−1 nixos/modules/services/cluster/kubernetes/scheduler.nix+1−1 nixos/modules/services/desktops/gnome3/gnome-settings-daemon.nix+1−1 nixos/modules/services/hardware/bluetooth.nix+1−1 nixos/modules/services/hardware/vdr.nix+2−2 nixos/modules/services/mail/mailcatcher.nix+1−1 nixos/modules/services/mail/offlineimap.nix+1−1 nixos/modules/services/misc/beanstalkd.nix+1−1 nixos/modules/services/misc/sssd.nix+1−1 nixos/modules/services/networking/i2pd.nix+2−2 nixos/modules/services/networking/miredo.nix+1−1 nixos/modules/services/networking/monero.nix+1−1 nixos/modules/services/networking/mosquitto.nix+2−2 nixos/modules/services/networking/namecoind.nix+2−1 nixos/modules/services/networking/nullidentdmod.nix+1−1 nixos/modules/services/networking/toxvpn.nix+1−1 nixos/modules/services/search/kibana.nix+1−1 nixos/modules/services/search/solr.nix+1−1 nixos/modules/services/x11/desktop-managers/gnome3.nix+1−1 nixos/modules/services/x11/display-managers/xpra.nix+1−1 nixos/modules/tasks/filesystems/btrfs.nix+1−1
nixos/modules/services/admin/oxidized.nix+1−1
@@ -7,7 +7,7 @@ let
77in
88{
99 options.services.oxidized = {
10− enable = mkEnableOption "the oxidized configuation backup service.";
10+ enable = mkEnableOption "the oxidized configuration backup service";
1111
1212 user = mkOption {
1313 type = types.str;
nixos/modules/services/cluster/kubernetes/addon-manager.nix+1−1
@@ -62,7 +62,7 @@ in
6262 '';
6363 };
6464
65− enable = mkEnableOption "Whether to enable Kubernetes addon manager.";
65+ enable = mkEnableOption "Kubernetes addon manager";
6666
6767 kubeconfig = top.lib.mkKubeConfigOptions "Kubernetes addon manager";
6868 bootstrapAddonsKubeconfig = top.lib.mkKubeConfigOptions "Kubernetes addon manager bootstrap";
nixos/modules/services/cluster/kubernetes/controller-manager.nix+1−1
@@ -28,7 +28,7 @@ in
2828 type = str;
2929 };
3030
31− enable = mkEnableOption "Kubernetes controller manager.";
31+ enable = mkEnableOption "Kubernetes controller manager";
3232
3333 extraOpts = mkOption {
3434 description = "Kubernetes controller manager extra command line options.";
nixos/modules/services/cluster/kubernetes/flannel.nix+1−1
@@ -23,7 +23,7 @@ in
2323{
2424 ###### interface
2525 options.services.kubernetes.flannel = {
26− enable = mkEnableOption "enable flannel networking";
26+ enable = mkEnableOption "flannel networking";
2727 kubeconfig = top.lib.mkKubeConfigOptions "Kubernetes flannel";
2828 };
2929
nixos/modules/services/cluster/kubernetes/pki.nix+1−1
@@ -39,7 +39,7 @@ in
3939 ###### interface
4040 options.services.kubernetes.pki = with lib.types; {
4141
42− enable = mkEnableOption "Whether to enable easyCert issuer service.";
42+ enable = mkEnableOption "easyCert issuer service";
4343
4444 certs = mkOption {
4545 description = "List of certificate specs to feed to cert generator.";
nixos/modules/services/cluster/kubernetes/proxy.nix+1−1
@@ -17,7 +17,7 @@ in
1717 type = str;
1818 };
1919
20− enable = mkEnableOption "Whether to enable Kubernetes proxy.";
20+ enable = mkEnableOption "Kubernetes proxy";
2121
2222 extraOpts = mkOption {
2323 description = "Kubernetes proxy extra command line options.";
nixos/modules/services/cluster/kubernetes/scheduler.nix+1−1
@@ -16,7 +16,7 @@ in
1616 type = str;
1717 };
1818
19− enable = mkEnableOption "Whether to enable Kubernetes scheduler.";
19+ enable = mkEnableOption "Kubernetes scheduler";
2020
2121 extraOpts = mkOption {
2222 description = "Kubernetes scheduler extra command line options.";
nixos/modules/services/desktops/gnome3/gnome-settings-daemon.nix+1−1
@@ -18,7 +18,7 @@ in
1818
1919 services.gnome3.gnome-settings-daemon = {
2020
21− enable = mkEnableOption "GNOME Settings Daemon.";
21+ enable = mkEnableOption "GNOME Settings Daemon";
2222
2323 # There are many forks of gnome-settings-daemon
2424 package = mkOption {
nixos/modules/services/hardware/bluetooth.nix+1−1
@@ -13,7 +13,7 @@ in {
1313 options = {
1414
1515 hardware.bluetooth = {
16− enable = mkEnableOption "support for Bluetooth.";
16+ enable = mkEnableOption "support for Bluetooth";
1717
1818 powerOnBoot = mkOption {
1919 type = types.bool;
nixos/modules/services/hardware/vdr.nix+2−2
@@ -12,7 +12,7 @@ in {
1212 options = {
1313
1414 services.vdr = {
15− enable = mkEnableOption "enable VDR. Please put config into ${libDir}.";
15+ enable = mkEnableOption "VDR. Please put config into ${libDir}";
1616
1717 package = mkOption {
1818 type = types.package;
@@ -34,7 +34,7 @@ in {
3434 description = "Additional command line arguments to pass to VDR.";
3535 };
3636
37− enableLirc = mkEnableOption "enable LIRC";
37+ enableLirc = mkEnableOption "LIRC";
3838 };
3939 };
4040
nixos/modules/services/mail/mailcatcher.nix+1−1
@@ -11,7 +11,7 @@ in
1111 options = {
1212
1313 services.mailcatcher = {
14− enable = mkEnableOption "Enable MailCatcher.";
14+ enable = mkEnableOption "MailCatcher";
1515
1616 http.ip = mkOption {
1717 type = types.str;
nixos/modules/services/mail/offlineimap.nix+1−1
@@ -7,7 +7,7 @@ let
77in {
88
99 options.services.offlineimap = {
10− enable = mkEnableOption "Offlineimap, a software to dispose your mailbox(es) as a local Maildir(s).";
10+ enable = mkEnableOption "OfflineIMAP, a software to dispose your mailbox(es) as a local Maildir(s)";
1111
1212 install = mkOption {
1313 type = types.bool;
nixos/modules/services/misc/beanstalkd.nix+1−1
@@ -12,7 +12,7 @@ in
1212
1313 options = {
1414 services.beanstalkd = {
15− enable = mkEnableOption "Enable the Beanstalk work queue.";
15+ enable = mkEnableOption "the Beanstalk work queue";
1616
1717 listen = {
1818 port = mkOption {
nixos/modules/services/misc/sssd.nix+1−1
@@ -6,7 +6,7 @@ let
66in {
77 options = {
88 services.sssd = {
9− enable = mkEnableOption "the System Security Services Daemon.";
9+ enable = mkEnableOption "the System Security Services Daemon";
1010
1111 config = mkOption {
1212 type = types.lines;
nixos/modules/services/networking/i2pd.nix+2−2
@@ -470,7 +470,7 @@ in
470470 '';
471471 };
472472
473− trust.hidden = mkEnableOption "Router concealment.";
473+ trust.hidden = mkEnableOption "Router concealment";
474474
475475 websocket = mkEndpointOpt "websockets" "127.0.0.1" 7666;
476476
@@ -478,7 +478,7 @@ in
478478 exploratory.outbound = i2cpOpts "exploratory";
479479
480480 ntcp2.enable = mkEnableTrueOption "NTCP2.";
481− ntcp2.published = mkEnableOption "NTCP2 publication.";
481+ ntcp2.published = mkEnableOption "NTCP2 publication";
482482 ntcp2.port = mkOption {
483483 type = types.int;
484484 default = 0;
nixos/modules/services/networking/miredo.nix+1−1
@@ -20,7 +20,7 @@ in
2020
2121 services.miredo = {
2222
23− enable = mkEnableOption "the Miredo IPv6 tunneling service.";
23+ enable = mkEnableOption "the Miredo IPv6 tunneling service";
2424
2525 package = mkOption {
2626 type = types.package;
nixos/modules/services/networking/monero.nix+1−1
@@ -51,7 +51,7 @@ in
5151
5252 services.monero = {
5353
54− enable = mkEnableOption "Monero node daemon.";
54+ enable = mkEnableOption "Monero node daemon";
5555
5656 mining.enable = mkOption {
5757 type = types.bool;
nixos/modules/services/networking/mosquitto.nix+2−2
@@ -44,7 +44,7 @@ in
4444
4545 options = {
4646 services.mosquitto = {
47− enable = mkEnableOption "Enable the MQTT Mosquitto broker.";
47+ enable = mkEnableOption "the MQTT Mosquitto broker";
4848
4949 host = mkOption {
5050 default = "127.0.0.1";
@@ -65,7 +65,7 @@ in
6565 };
6666
6767 ssl = {
68− enable = mkEnableOption "Enable SSL listener.";
68+ enable = mkEnableOption "SSL listener";
6969
7070 cafile = mkOption {
7171 type = types.nullOr types.path;
nixos/modules/services/networking/namecoind.nix+2−1
@@ -1,3 +1,4 @@
1+
12{ config, lib, pkgs, ... }:
23
34with lib;
@@ -43,7 +44,7 @@ in
4344
4445 services.namecoind = {
4546
46− enable = mkEnableOption "namecoind, Namecoin client.";
47+ enable = mkEnableOption "namecoind, Namecoin client";
4748
4849 wallet = mkOption {
4950 type = types.path;
nixos/modules/services/networking/nullidentdmod.nix+1−1
@@ -3,7 +3,7 @@
33
44in {
55 options.services.nullidentdmod = with types; {
6− enable = mkEnableOption "Enable the nullidentdmod identd daemon";
6+ enable = mkEnableOption "the nullidentdmod identd daemon";
77
88 userid = mkOption {
99 type = nullOr str;
nixos/modules/services/networking/toxvpn.nix+1−1
@@ -5,7 +5,7 @@ with lib;
55{
66 options = {
77 services.toxvpn = {
8− enable = mkEnableOption "enable toxvpn running on startup";
8+ enable = mkEnableOption "toxvpn running on startup";
99
1010 localip = mkOption {
1111 type = types.string;
nixos/modules/services/search/kibana.nix+1−1
@@ -31,7 +31,7 @@ let
3131
3232in {
3333 options.services.kibana = {
34− enable = mkEnableOption "enable kibana service";
34+ enable = mkEnableOption "kibana service";
3535
3636 listenAddress = mkOption {
3737 description = "Kibana listening host";
nixos/modules/services/search/solr.nix+1−1
@@ -11,7 +11,7 @@ in
1111{
1212 options = {
1313 services.solr = {
14− enable = mkEnableOption "Enables the solr service.";
14+ enable = mkEnableOption "Solr";
1515
1616 # default to the 8.x series not forcing major version upgrade of those on the 7.x series
1717 package = mkOption {
nixos/modules/services/x11/desktop-managers/gnome3.nix+1−1
@@ -75,7 +75,7 @@ in {
7575 debug = mkEnableOption "gnome-session debug messages";
7676
7777 flashback = {
78− enableMetacity = mkEnableOption "Enable the standard GNOME Flashback session with Metacity.";
78+ enableMetacity = mkEnableOption "the standard GNOME Flashback session with Metacity";
7979
8080 customSessions = mkOption {
8181 type = types.listOf (types.submodule {
nixos/modules/services/x11/display-managers/xpra.nix+1−1
@@ -33,7 +33,7 @@ in
3333 description = "Authentication to use when connecting to xpra";
3434 };
3535
36− pulseaudio = mkEnableOption "pulseaudio audio streaming.";
36+ pulseaudio = mkEnableOption "pulseaudio audio streaming";
3737
3838 extraOptions = mkOption {
3939 description = "Extra xpra options";
nixos/modules/tasks/filesystems/btrfs.nix+1−1
@@ -19,7 +19,7 @@ in
1919 # One could also do regular btrfs balances, but that shouldn't be necessary
2020 # during normal usage and as long as the filesystems aren't filled near capacity
2121 services.btrfs.autoScrub = {
22− enable = mkEnableOption "Enable regular btrfs scrub";
22+ enable = mkEnableOption "regular btrfs scrub";
2323
2424 fileSystems = mkOption {
2525 type = types.listOf types.path;