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.
This commit is contained in:
@@ -18,12 +18,8 @@ in
|
||||
options = {
|
||||
|
||||
services.mailpile = {
|
||||
enable = mkOption {
|
||||
default = false;
|
||||
description = "
|
||||
Whether to enable Mailpile the mail client.
|
||||
";
|
||||
};
|
||||
enable = mkEnableOption "Mailpile the mail client";
|
||||
|
||||
hostname = mkOption {
|
||||
default = "localhost";
|
||||
description = "Listen to this hostname or ip.";
|
||||
|
||||
Reference in New Issue
Block a user