diff options
| author | Emily <vcs@emily.moe> | 2023-06-22 07:06:54 +0100 |
|---|---|---|
| committer | Emily <vcs@emily.moe> | 2023-06-24 10:48:55 +0100 |
| commit | c2716817a8e5fb47889aaf625aa13b89d786da51 (patch) | |
| tree | 4e546dbe26b648a654a9c3fd49d2118b12fb45f0 /modules/services | |
| parent | b97c235e37c91511c2e7533ab6794480e4cc445a (diff) | |
{offlineimap,tailscale}: fix `enable` option docs
The argument to `mkEnableOption` is automatically wrapped in a full
sentence.
Diffstat (limited to 'modules/services')
| -rw-r--r-- | modules/services/mail/offlineimap.nix | 2 | ||||
| -rw-r--r-- | modules/services/tailscale.nix | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/modules/services/mail/offlineimap.nix b/modules/services/mail/offlineimap.nix index 9d0d4dc..4f76dc5 100644 --- a/modules/services/mail/offlineimap.nix +++ b/modules/services/mail/offlineimap.nix @@ -7,7 +7,7 @@ let in { 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)"; package = mkOption { type = types.package; diff --git a/modules/services/tailscale.nix b/modules/services/tailscale.nix index 6e1a86d..afe4382 100644 --- a/modules/services/tailscale.nix +++ b/modules/services/tailscale.nix @@ -24,7 +24,12 @@ in }; magicDNS = { - enable = mkEnableOption "Whether to configure networking to work with Tailscale's MagicDNS."; + enable = mkOption { + type = types.bool; + default = false; + example = true; + description = "Whether to configure networking to work with Tailscale's MagicDNS."; + }; }; }; |
