treewide: use mkEnableOption
This commit is contained in:
@@ -21,13 +21,7 @@ let
|
||||
'';
|
||||
in {
|
||||
options.services.clightning = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
If enabled, the clightning service will be installed.
|
||||
'';
|
||||
};
|
||||
enable = mkEnableOption "clightning";
|
||||
address = mkOption {
|
||||
type = types.str;
|
||||
default = "127.0.0.1";
|
||||
|
||||
Reference in New Issue
Block a user