electrs.enable: use mkEnableOption
This commit is contained in:
parent
b75b2a1626
commit
48be5a79fa
@ -11,13 +11,7 @@ in {
|
||||
];
|
||||
|
||||
options.services.electrs = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
If enabled, the electrs service will be installed.
|
||||
'';
|
||||
};
|
||||
enable = mkEnableOption "electrs";
|
||||
dataDir = mkOption {
|
||||
type = types.path;
|
||||
default = "/var/lib/electrs";
|
||||
|
Loading…
Reference in New Issue
Block a user