Deprecate lightning-charge and nanopos
Because we have btcpayserver now, nanopos is not really needed any more. Nanopos was meant to be just a PoC. Lightning charge can be removed because nanopos is the only module that depends on it.
This commit is contained in:
parent
6554e69818
commit
36c9c39d80
@ -35,6 +35,9 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
warnings = [''
|
||||||
|
The lightning-charge module is deprecated and will be removed soon.
|
||||||
|
''];
|
||||||
assertions = [
|
assertions = [
|
||||||
{ assertion = config.services.clightning.enable;
|
{ assertion = config.services.clightning.enable;
|
||||||
message = "lightning-charge requires clightning.";
|
message = "lightning-charge requires clightning.";
|
||||||
|
@ -72,6 +72,10 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
warnings = [''
|
||||||
|
The nanopos module is deprecated and will be removed soon. You can use the
|
||||||
|
btcpayserver module instead.
|
||||||
|
''];
|
||||||
assertions = [
|
assertions = [
|
||||||
{ assertion = config.services.lightning-charge.enable;
|
{ assertion = config.services.lightning-charge.enable;
|
||||||
message = "nanopos requires lightning-charge.";
|
message = "nanopos requires lightning-charge.";
|
||||||
|
Loading…
Reference in New Issue
Block a user