diff options
author | Dominik Xaver Hörl <hoe.dom@gmx.de> | 2020-04-20 20:05:26 +0200 |
---|---|---|
committer | Dominik Xaver Hörl <hoe.dom@gmx.de> | 2020-04-21 08:55:36 +0200 |
commit | 0412bde9423cbc26d68d1d744b22ec4e45bcbac8 (patch) | |
tree | b311635212d83efe027bf39184008959f48e12c1 /nixos/modules/services/networking/prayer.nix | |
parent | 3bbd074217cd11b6e14abec24655091b83aacc6f (diff) |
treewide: add bool type to enable options, or make use of mkEnableOption
Add missing type information to manually specified enable options or replace them by mkEnableOption where appropriate.
Diffstat (limited to 'nixos/modules/services/networking/prayer.nix')
-rw-r--r-- | nixos/modules/services/networking/prayer.nix | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/nixos/modules/services/networking/prayer.nix b/nixos/modules/services/networking/prayer.nix index 9c9eeba23da2a..f04dac01d9b8e 100644 --- a/nixos/modules/services/networking/prayer.nix +++ b/nixos/modules/services/networking/prayer.nix @@ -41,12 +41,7 @@ in services.prayer = { - enable = mkOption { - default = false; - description = '' - Whether to run the prayer webmail http server. - ''; - }; + enable = mkEnableOption "the prayer webmail http server"; port = mkOption { default = "2080"; |