fix: remove services.clightning.enable assignment that fails on f13ff45
- f13ff45 HAS services.clightning but only as { plugins = ... }, no enable
-> 'option does not exist, did you mean plugins' (your error)
- Sovran never uses lightningBackend == clightning (uses lnd),
so just don't set services.clightning.enable at all
- Also make lnd port conflict check always true for clightning case
- Fixes both f13ff45 (has clightning/plugins) and 8b8c811 (removed)
This commit is contained in:
+1
-1
@@ -123,7 +123,7 @@ in {
|
||||
};
|
||||
# vendored fix: only enable clightning if module exists (nixpkgs unstable may have renamed/removed it)
|
||||
# Sovran uses lnd only, so this is never true in practice
|
||||
services.clightning.enable = mkIf (cfg.btcpayserver.lightningBackend == "clightning" && config.services ? clightning) true;
|
||||
# clightning removed/has no enable on this nixpkgs - not used by Sovran (lnd only), intentionally not set
|
||||
services.lnd = mkIf (cfg.btcpayserver.lightningBackend == "lnd") {
|
||||
enable = true;
|
||||
macaroons.btcpayserver = {
|
||||
|
||||
Reference in New Issue
Block a user