···86 description = lib.mdDoc "Proxy DNS requests - no leak for DNS data.";
87 };
8889- quietMode = mkEnableOption (lib.mdDoc "Quiet mode (no output from the library).");
9091 remoteDNSSubnet = mkOption {
92 type = types.enum [ 10 127 224 ];
···86 description = lib.mdDoc "Proxy DNS requests - no leak for DNS data.";
87 };
8889+ quietMode = mkEnableOption (lib.mdDoc "Quiet mode (no output from the library)");
9091 remoteDNSSubnet = mkOption {
92 type = types.enum [ 10 127 224 ];
+1-1
nixos/modules/security/polkit.nix
···1415 security.polkit.enable = mkEnableOption (lib.mdDoc "polkit");
1617- security.polkit.debug = mkEnableOption (lib.mdDoc "debug logs from polkit. This is required in order to see log messages from rule definitions.");
1819 security.polkit.extraConfig = mkOption {
20 type = types.lines;
···1415 security.polkit.enable = mkEnableOption (lib.mdDoc "polkit");
1617+ security.polkit.debug = mkEnableOption (lib.mdDoc "debug logs from polkit. This is required in order to see log messages from rule definitions");
1819 security.polkit.extraConfig = mkOption {
20 type = types.lines;
+1-1
nixos/modules/services/backup/zfs-replication.nix
···9in {
10 options = {
11 services.zfs.autoReplication = {
12- enable = mkEnableOption (lib.mdDoc "ZFS snapshot replication.");
1314 followDelete = mkOption {
15 description = lib.mdDoc "Remove remote snapshots that don't have a local correspondent.";
···9in {
10 options = {
11 services.zfs.autoReplication = {
12+ enable = mkEnableOption (lib.mdDoc "ZFS snapshot replication");
1314 followDelete = mkOption {
15 description = lib.mdDoc "Remove remote snapshots that don't have a local correspondent.";
···27 options = {
2829 services.gnome.evolution-data-server = {
30- enable = mkEnableOption (lib.mdDoc "Evolution Data Server, a collection of services for storing addressbooks and calendars.");
31 plugins = mkOption {
32 type = types.listOf types.package;
33 default = [ ];
···35 };
36 };
37 programs.evolution = {
38- enable = mkEnableOption (lib.mdDoc "Evolution, a Personal information management application that provides integrated mail, calendaring and address book functionality.");
39 plugins = mkOption {
40 type = types.listOf types.package;
41 default = [ ];
···27 options = {
2829 services.gnome.evolution-data-server = {
30+ enable = mkEnableOption (lib.mdDoc "Evolution Data Server, a collection of services for storing addressbooks and calendars");
31 plugins = mkOption {
32 type = types.listOf types.package;
33 default = [ ];
···35 };
36 };
37 programs.evolution = {
38+ enable = mkEnableOption (lib.mdDoc "Evolution, a Personal information management application that provides integrated mail, calendaring and address book functionality");
39 plugins = mkOption {
40 type = types.listOf types.package;
41 default = [ ];
+1-1
nixos/modules/services/development/zammad.nix
···2829 options = {
30 services.zammad = {
31- enable = mkEnableOption (lib.mdDoc "Zammad, a web-based, open source user support/ticketing solution.");
3233 package = mkOption {
34 type = types.package;
···2829 options = {
30 services.zammad = {
31+ enable = mkEnableOption (lib.mdDoc "Zammad, a web-based, open source user support/ticketing solution");
3233 package = mkOption {
34 type = types.package;
+1-1
nixos/modules/services/games/freeciv.nix
···54 default = 0;
55 description = lib.mdDoc "Set debug log level.";
56 };
57- options.exit-on-end = mkEnableOption (lib.mdDoc "exit instead of restarting when a game ends.");
58 options.Guests = mkEnableOption (lib.mdDoc "guests to login if auth is enabled");
59 options.Newusers = mkEnableOption (lib.mdDoc "new users to login if auth is enabled");
60 options.port = mkOption {
···54 default = 0;
55 description = lib.mdDoc "Set debug log level.";
56 };
57+ options.exit-on-end = mkEnableOption (lib.mdDoc "exit instead of restarting when a game ends");
58 options.Guests = mkEnableOption (lib.mdDoc "guests to login if auth is enabled");
59 options.Newusers = mkEnableOption (lib.mdDoc "new users to login if auth is enabled");
60 options.port = mkOption {
+1-1
nixos/modules/services/hardware/udisks2.nix
···1920 services.udisks2 = {
2122- enable = mkEnableOption (lib.mdDoc "udisks2, a DBus service that allows applications to query and manipulate storage devices.");
2324 settings = mkOption rec {
25 type = types.attrsOf settingsFormat.type;
···1920 services.udisks2 = {
2122+ enable = mkEnableOption (lib.mdDoc "udisks2, a DBus service that allows applications to query and manipulate storage devices");
2324 settings = mkOption rec {
25 type = types.attrsOf settingsFormat.type;
+7-7
nixos/modules/services/mail/dovecot.nix
···171 options.services.dovecot2 = {
172 enable = mkEnableOption (lib.mdDoc "the dovecot 2.x POP3/IMAP server");
173174- enablePop3 = mkEnableOption (lib.mdDoc "starting the POP3 listener (when Dovecot is enabled).");
175176- enableImap = mkEnableOption (lib.mdDoc "starting the IMAP listener (when Dovecot is enabled).") // { default = true; };
177178- enableLmtp = mkEnableOption (lib.mdDoc "starting the LMTP listener (when Dovecot is enabled).");
179180 protocols = mkOption {
181 type = types.listOf types.str;
···300 description = lib.mdDoc "Path to the server's private key.";
301 };
302303- enablePAM = mkEnableOption (lib.mdDoc "creating a own Dovecot PAM service and configure PAM user logins.") // { default = true; };
304305- enableDHE = mkEnableOption (lib.mdDoc "enable ssl_dh and generation of primes for the key exchange.") // { default = true; };
306307 sieveScripts = mkOption {
308 type = types.attrsOf types.path;
···310 description = lib.mdDoc "Sieve scripts to be executed. Key is a sequence, e.g. 'before2', 'after' etc.";
311 };
312313- showPAMFailure = mkEnableOption (lib.mdDoc "showing the PAM failure message on authentication error (useful for OTPW).");
314315 mailboxes = mkOption {
316 type = with types; coercedTo
···326 description = lib.mdDoc "Configure mailboxes and auto create or subscribe them.";
327 };
328329- enableQuota = mkEnableOption (lib.mdDoc "the dovecot quota service.");
330331 quotaPort = mkOption {
332 type = types.str;
···171 options.services.dovecot2 = {
172 enable = mkEnableOption (lib.mdDoc "the dovecot 2.x POP3/IMAP server");
173174+ enablePop3 = mkEnableOption (lib.mdDoc "starting the POP3 listener (when Dovecot is enabled)");
175176+ enableImap = mkEnableOption (lib.mdDoc "starting the IMAP listener (when Dovecot is enabled)") // { default = true; };
177178+ enableLmtp = mkEnableOption (lib.mdDoc "starting the LMTP listener (when Dovecot is enabled)");
179180 protocols = mkOption {
181 type = types.listOf types.str;
···300 description = lib.mdDoc "Path to the server's private key.";
301 };
302303+ enablePAM = mkEnableOption (lib.mdDoc "creating a own Dovecot PAM service and configure PAM user logins") // { default = true; };
304305+ enableDHE = mkEnableOption (lib.mdDoc "enable ssl_dh and generation of primes for the key exchange") // { default = true; };
306307 sieveScripts = mkOption {
308 type = types.attrsOf types.path;
···310 description = lib.mdDoc "Sieve scripts to be executed. Key is a sequence, e.g. 'before2', 'after' etc.";
311 };
312313+ showPAMFailure = mkEnableOption (lib.mdDoc "showing the PAM failure message on authentication error (useful for OTPW)");
314315 mailboxes = mkOption {
316 type = with types; coercedTo
···326 description = lib.mdDoc "Configure mailboxes and auto create or subscribe them.";
327 };
328329+ enableQuota = mkEnableOption (lib.mdDoc "the dovecot quota service");
330331 quotaPort = mkOption {
332 type = types.str;
+1-1
nixos/modules/services/misc/atuin.nix
···8{
9 options = {
10 services.atuin = {
11- enable = mkEnableOption (mdDoc "Enable server for shell history sync with atuin.");
1213 openRegistration = mkOption {
14 type = types.bool;
···8{
9 options = {
10 services.atuin = {
11+ enable = mkEnableOption (mdDoc "Enable server for shell history sync with atuin");
1213 openRegistration = mkOption {
14 type = types.bool;
+1-1
nixos/modules/services/misc/input-remapper.nix
···6{
7 options = {
8 services.input-remapper = {
9- enable = mkEnableOption (lib.mdDoc "input-remapper, an easy to use tool to change the mapping of your input device buttons.");
10 package = mkPackageOptionMD pkgs "input-remapper" { };
11 enableUdevRules = mkEnableOption (lib.mdDoc "udev rules added by input-remapper to handle hotplugged devices. Currently disabled by default due to https://github.com/sezanzeb/input-remapper/issues/140");
12 serviceWantedBy = mkOption {
···6{
7 options = {
8 services.input-remapper = {
9+ enable = mkEnableOption (lib.mdDoc "input-remapper, an easy to use tool to change the mapping of your input device buttons");
10 package = mkPackageOptionMD pkgs "input-remapper" { };
11 enableUdevRules = mkEnableOption (lib.mdDoc "udev rules added by input-remapper to handle hotplugged devices. Currently disabled by default due to https://github.com/sezanzeb/input-remapper/issues/140");
12 serviceWantedBy = mkOption {
+1-1
nixos/modules/services/misc/sourcehut/default.nix
···438 };
439440 options."lists.sr.ht" = commonServiceSettings "lists" // {
441- allow-new-lists = mkEnableOption (lib.mdDoc "Allow creation of new lists.");
442 notify-from = mkOption {
443 description = lib.mdDoc "Outgoing email for notifications generated by users.";
444 type = types.str;
···438 };
439440 options."lists.sr.ht" = commonServiceSettings "lists" // {
441+ allow-new-lists = mkEnableOption (lib.mdDoc "Allow creation of new lists");
442 notify-from = mkOption {
443 description = lib.mdDoc "Outgoing email for notifications generated by users.";
444 type = types.str;
···1112 # the upstream package runs as root, but doesn't seem to be strictly
13 # necessary for basic functionality
14- runAsRoot = mkEnableOption (lib.mdDoc "Whether to run as root.");
1516 autoRetirement = mkEnableOption (lib.mdDoc ''
17 Whether to automatically retire the host upon OS shutdown.
···1112 # the upstream package runs as root, but doesn't seem to be strictly
13 # necessary for basic functionality
14+ runAsRoot = mkEnableOption (lib.mdDoc "Whether to run as root");
1516 autoRetirement = mkEnableOption (lib.mdDoc ''
17 Whether to automatically retire the host upon OS shutdown.
···78 enable = mkEnableOption (lib.mdDoc "hledger-web service");
910- serveApi = mkEnableOption (lib.mdDoc "Serve only the JSON web API, without the web UI.");
1112 host = mkOption {
13 type = types.str;
···78 enable = mkEnableOption (lib.mdDoc "hledger-web service");
910+ serveApi = mkEnableOption (lib.mdDoc "Serve only the JSON web API, without the web UI");
1112 host = mkOption {
13 type = types.str;
···20 ###### interface
2122 options = {
23- boot.kernel.enable = mkEnableOption (lib.mdDoc "the Linux kernel. This is useful for systemd-like containers which do not require a kernel.") // {
24 default = true;
25 };
26
···20 ###### interface
2122 options = {
23+ boot.kernel.enable = mkEnableOption (lib.mdDoc "the Linux kernel. This is useful for systemd-like containers which do not require a kernel") // {
24 default = true;
25 };
26