netns: move webindex config for modules-only usage
webindex is only available in secure-node.
This commit is contained in:
@@ -83,6 +83,12 @@ in {
|
||||
The user's group is also authorized.
|
||||
'';
|
||||
};
|
||||
|
||||
netns = mkOption {
|
||||
default = netns;
|
||||
readOnly = true;
|
||||
description = "Exposes netns parameters.";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable (mkMerge [
|
||||
@@ -286,8 +292,6 @@ in {
|
||||
host = netns.nanopos.address;
|
||||
};
|
||||
|
||||
services.nix-bitcoin-webindex.host = netns.nginx.address;
|
||||
|
||||
services.lightning-loop.cliExec = mkCliExec "lightning-loop";
|
||||
}
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user