cleanup redundant text in modules utilizing mkEnableOption
Closes #59911
This commit is contained in:
parent
297f8c55e5
commit
4a11ce7f26
@ -7,7 +7,7 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.services.oxidized = {
|
options.services.oxidized = {
|
||||||
enable = mkEnableOption "the oxidized configuation backup service.";
|
enable = mkEnableOption "the oxidized configuration backup service";
|
||||||
|
|
||||||
user = mkOption {
|
user = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
@ -62,7 +62,7 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
enable = mkEnableOption "Whether to enable Kubernetes addon manager.";
|
enable = mkEnableOption "Kubernetes addon manager";
|
||||||
|
|
||||||
kubeconfig = top.lib.mkKubeConfigOptions "Kubernetes addon manager";
|
kubeconfig = top.lib.mkKubeConfigOptions "Kubernetes addon manager";
|
||||||
bootstrapAddonsKubeconfig = top.lib.mkKubeConfigOptions "Kubernetes addon manager bootstrap";
|
bootstrapAddonsKubeconfig = top.lib.mkKubeConfigOptions "Kubernetes addon manager bootstrap";
|
||||||
|
@ -28,7 +28,7 @@ in
|
|||||||
type = str;
|
type = str;
|
||||||
};
|
};
|
||||||
|
|
||||||
enable = mkEnableOption "Kubernetes controller manager.";
|
enable = mkEnableOption "Kubernetes controller manager";
|
||||||
|
|
||||||
extraOpts = mkOption {
|
extraOpts = mkOption {
|
||||||
description = "Kubernetes controller manager extra command line options.";
|
description = "Kubernetes controller manager extra command line options.";
|
||||||
|
@ -23,7 +23,7 @@ in
|
|||||||
{
|
{
|
||||||
###### interface
|
###### interface
|
||||||
options.services.kubernetes.flannel = {
|
options.services.kubernetes.flannel = {
|
||||||
enable = mkEnableOption "enable flannel networking";
|
enable = mkEnableOption "flannel networking";
|
||||||
kubeconfig = top.lib.mkKubeConfigOptions "Kubernetes flannel";
|
kubeconfig = top.lib.mkKubeConfigOptions "Kubernetes flannel";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ in
|
|||||||
###### interface
|
###### interface
|
||||||
options.services.kubernetes.pki = with lib.types; {
|
options.services.kubernetes.pki = with lib.types; {
|
||||||
|
|
||||||
enable = mkEnableOption "Whether to enable easyCert issuer service.";
|
enable = mkEnableOption "easyCert issuer service";
|
||||||
|
|
||||||
certs = mkOption {
|
certs = mkOption {
|
||||||
description = "List of certificate specs to feed to cert generator.";
|
description = "List of certificate specs to feed to cert generator.";
|
||||||
|
@ -17,7 +17,7 @@ in
|
|||||||
type = str;
|
type = str;
|
||||||
};
|
};
|
||||||
|
|
||||||
enable = mkEnableOption "Whether to enable Kubernetes proxy.";
|
enable = mkEnableOption "Kubernetes proxy";
|
||||||
|
|
||||||
extraOpts = mkOption {
|
extraOpts = mkOption {
|
||||||
description = "Kubernetes proxy extra command line options.";
|
description = "Kubernetes proxy extra command line options.";
|
||||||
|
@ -16,7 +16,7 @@ in
|
|||||||
type = str;
|
type = str;
|
||||||
};
|
};
|
||||||
|
|
||||||
enable = mkEnableOption "Whether to enable Kubernetes scheduler.";
|
enable = mkEnableOption "Kubernetes scheduler";
|
||||||
|
|
||||||
extraOpts = mkOption {
|
extraOpts = mkOption {
|
||||||
description = "Kubernetes scheduler extra command line options.";
|
description = "Kubernetes scheduler extra command line options.";
|
||||||
|
@ -18,7 +18,7 @@ in
|
|||||||
|
|
||||||
services.gnome3.gnome-settings-daemon = {
|
services.gnome3.gnome-settings-daemon = {
|
||||||
|
|
||||||
enable = mkEnableOption "GNOME Settings Daemon.";
|
enable = mkEnableOption "GNOME Settings Daemon";
|
||||||
|
|
||||||
# There are many forks of gnome-settings-daemon
|
# There are many forks of gnome-settings-daemon
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
|
@ -13,7 +13,7 @@ in {
|
|||||||
options = {
|
options = {
|
||||||
|
|
||||||
hardware.bluetooth = {
|
hardware.bluetooth = {
|
||||||
enable = mkEnableOption "support for Bluetooth.";
|
enable = mkEnableOption "support for Bluetooth";
|
||||||
|
|
||||||
powerOnBoot = mkOption {
|
powerOnBoot = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
|
@ -12,7 +12,7 @@ in {
|
|||||||
options = {
|
options = {
|
||||||
|
|
||||||
services.vdr = {
|
services.vdr = {
|
||||||
enable = mkEnableOption "enable VDR. Please put config into ${libDir}.";
|
enable = mkEnableOption "VDR. Please put config into ${libDir}";
|
||||||
|
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
@ -34,7 +34,7 @@ in {
|
|||||||
description = "Additional command line arguments to pass to VDR.";
|
description = "Additional command line arguments to pass to VDR.";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableLirc = mkEnableOption "enable LIRC";
|
enableLirc = mkEnableOption "LIRC";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ in
|
|||||||
options = {
|
options = {
|
||||||
|
|
||||||
services.mailcatcher = {
|
services.mailcatcher = {
|
||||||
enable = mkEnableOption "Enable MailCatcher.";
|
enable = mkEnableOption "MailCatcher";
|
||||||
|
|
||||||
http.ip = mkOption {
|
http.ip = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
@ -7,7 +7,7 @@ let
|
|||||||
in {
|
in {
|
||||||
|
|
||||||
options.services.offlineimap = {
|
options.services.offlineimap = {
|
||||||
enable = mkEnableOption "Offlineimap, a software to dispose your mailbox(es) as a local Maildir(s).";
|
enable = mkEnableOption "OfflineIMAP, a software to dispose your mailbox(es) as a local Maildir(s)";
|
||||||
|
|
||||||
install = mkOption {
|
install = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
|
@ -12,7 +12,7 @@ in
|
|||||||
|
|
||||||
options = {
|
options = {
|
||||||
services.beanstalkd = {
|
services.beanstalkd = {
|
||||||
enable = mkEnableOption "Enable the Beanstalk work queue.";
|
enable = mkEnableOption "the Beanstalk work queue";
|
||||||
|
|
||||||
listen = {
|
listen = {
|
||||||
port = mkOption {
|
port = mkOption {
|
||||||
|
@ -6,7 +6,7 @@ let
|
|||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
services.sssd = {
|
services.sssd = {
|
||||||
enable = mkEnableOption "the System Security Services Daemon.";
|
enable = mkEnableOption "the System Security Services Daemon";
|
||||||
|
|
||||||
config = mkOption {
|
config = mkOption {
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
|
@ -470,7 +470,7 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
trust.hidden = mkEnableOption "Router concealment.";
|
trust.hidden = mkEnableOption "Router concealment";
|
||||||
|
|
||||||
websocket = mkEndpointOpt "websockets" "127.0.0.1" 7666;
|
websocket = mkEndpointOpt "websockets" "127.0.0.1" 7666;
|
||||||
|
|
||||||
@ -478,7 +478,7 @@ in
|
|||||||
exploratory.outbound = i2cpOpts "exploratory";
|
exploratory.outbound = i2cpOpts "exploratory";
|
||||||
|
|
||||||
ntcp2.enable = mkEnableTrueOption "NTCP2.";
|
ntcp2.enable = mkEnableTrueOption "NTCP2.";
|
||||||
ntcp2.published = mkEnableOption "NTCP2 publication.";
|
ntcp2.published = mkEnableOption "NTCP2 publication";
|
||||||
ntcp2.port = mkOption {
|
ntcp2.port = mkOption {
|
||||||
type = types.int;
|
type = types.int;
|
||||||
default = 0;
|
default = 0;
|
||||||
|
@ -20,7 +20,7 @@ in
|
|||||||
|
|
||||||
services.miredo = {
|
services.miredo = {
|
||||||
|
|
||||||
enable = mkEnableOption "the Miredo IPv6 tunneling service.";
|
enable = mkEnableOption "the Miredo IPv6 tunneling service";
|
||||||
|
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
|
@ -51,7 +51,7 @@ in
|
|||||||
|
|
||||||
services.monero = {
|
services.monero = {
|
||||||
|
|
||||||
enable = mkEnableOption "Monero node daemon.";
|
enable = mkEnableOption "Monero node daemon";
|
||||||
|
|
||||||
mining.enable = mkOption {
|
mining.enable = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
|
@ -44,7 +44,7 @@ in
|
|||||||
|
|
||||||
options = {
|
options = {
|
||||||
services.mosquitto = {
|
services.mosquitto = {
|
||||||
enable = mkEnableOption "Enable the MQTT Mosquitto broker.";
|
enable = mkEnableOption "the MQTT Mosquitto broker";
|
||||||
|
|
||||||
host = mkOption {
|
host = mkOption {
|
||||||
default = "127.0.0.1";
|
default = "127.0.0.1";
|
||||||
@ -65,7 +65,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
ssl = {
|
ssl = {
|
||||||
enable = mkEnableOption "Enable SSL listener.";
|
enable = mkEnableOption "SSL listener";
|
||||||
|
|
||||||
cafile = mkOption {
|
cafile = mkOption {
|
||||||
type = types.nullOr types.path;
|
type = types.nullOr types.path;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
@ -43,7 +44,7 @@ in
|
|||||||
|
|
||||||
services.namecoind = {
|
services.namecoind = {
|
||||||
|
|
||||||
enable = mkEnableOption "namecoind, Namecoin client.";
|
enable = mkEnableOption "namecoind, Namecoin client";
|
||||||
|
|
||||||
wallet = mkOption {
|
wallet = mkOption {
|
||||||
type = types.path;
|
type = types.path;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
in {
|
in {
|
||||||
options.services.nullidentdmod = with types; {
|
options.services.nullidentdmod = with types; {
|
||||||
enable = mkEnableOption "Enable the nullidentdmod identd daemon";
|
enable = mkEnableOption "the nullidentdmod identd daemon";
|
||||||
|
|
||||||
userid = mkOption {
|
userid = mkOption {
|
||||||
type = nullOr str;
|
type = nullOr str;
|
||||||
|
@ -5,7 +5,7 @@ with lib;
|
|||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
services.toxvpn = {
|
services.toxvpn = {
|
||||||
enable = mkEnableOption "enable toxvpn running on startup";
|
enable = mkEnableOption "toxvpn running on startup";
|
||||||
|
|
||||||
localip = mkOption {
|
localip = mkOption {
|
||||||
type = types.string;
|
type = types.string;
|
||||||
|
@ -31,7 +31,7 @@ let
|
|||||||
|
|
||||||
in {
|
in {
|
||||||
options.services.kibana = {
|
options.services.kibana = {
|
||||||
enable = mkEnableOption "enable kibana service";
|
enable = mkEnableOption "kibana service";
|
||||||
|
|
||||||
listenAddress = mkOption {
|
listenAddress = mkOption {
|
||||||
description = "Kibana listening host";
|
description = "Kibana listening host";
|
||||||
|
@ -11,7 +11,7 @@ in
|
|||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
services.solr = {
|
services.solr = {
|
||||||
enable = mkEnableOption "Enables the solr service.";
|
enable = mkEnableOption "Solr";
|
||||||
|
|
||||||
# default to the 8.x series not forcing major version upgrade of those on the 7.x series
|
# default to the 8.x series not forcing major version upgrade of those on the 7.x series
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
|
@ -75,7 +75,7 @@ in {
|
|||||||
debug = mkEnableOption "gnome-session debug messages";
|
debug = mkEnableOption "gnome-session debug messages";
|
||||||
|
|
||||||
flashback = {
|
flashback = {
|
||||||
enableMetacity = mkEnableOption "Enable the standard GNOME Flashback session with Metacity.";
|
enableMetacity = mkEnableOption "the standard GNOME Flashback session with Metacity";
|
||||||
|
|
||||||
customSessions = mkOption {
|
customSessions = mkOption {
|
||||||
type = types.listOf (types.submodule {
|
type = types.listOf (types.submodule {
|
||||||
|
@ -33,7 +33,7 @@ in
|
|||||||
description = "Authentication to use when connecting to xpra";
|
description = "Authentication to use when connecting to xpra";
|
||||||
};
|
};
|
||||||
|
|
||||||
pulseaudio = mkEnableOption "pulseaudio audio streaming.";
|
pulseaudio = mkEnableOption "pulseaudio audio streaming";
|
||||||
|
|
||||||
extraOptions = mkOption {
|
extraOptions = mkOption {
|
||||||
description = "Extra xpra options";
|
description = "Extra xpra options";
|
||||||
|
@ -19,7 +19,7 @@ in
|
|||||||
# One could also do regular btrfs balances, but that shouldn't be necessary
|
# One could also do regular btrfs balances, but that shouldn't be necessary
|
||||||
# during normal usage and as long as the filesystems aren't filled near capacity
|
# during normal usage and as long as the filesystems aren't filled near capacity
|
||||||
services.btrfs.autoScrub = {
|
services.btrfs.autoScrub = {
|
||||||
enable = mkEnableOption "Enable regular btrfs scrub";
|
enable = mkEnableOption "regular btrfs scrub";
|
||||||
|
|
||||||
fileSystems = mkOption {
|
fileSystems = mkOption {
|
||||||
type = types.listOf types.path;
|
type = types.listOf types.path;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user