treewide: use mkEnableOption

This commit is contained in:
Erik Arvstedt
2021-02-07 22:41:31 +01:00
parent 7a97304f13
commit 9cf038939c
4 changed files with 4 additions and 28 deletions
+1 -7
View File
@@ -41,13 +41,7 @@ let
'';
in {
options.services.recurring-donations = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
If enabled, the recurring-donations service will be installed.
'';
};
enable = mkEnableOption "recurring-donations";
tallycoin = mkOption {
type = types.attrs;
default = {};