treewide: use mkEnableOption

This commit is contained in:
Erik Arvstedt
2021-02-01 22:53:15 +01:00
parent 7a97304f13
commit 9cf038939c
4 changed files with 4 additions and 28 deletions

View File

@@ -37,13 +37,7 @@ let
in {
options.services.lnd = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
If enabled, the LND service will be installed.
'';
};
enable = mkEnableOption "Lightning Network Daemon";
dataDir = mkOption {
type = types.path;
default = "/var/lib/lnd";