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:
Jonas Nick 2020-09-22 14:05:51 +00:00
parent 6554e69818
commit 36c9c39d80
No known key found for this signature in database
GPG Key ID: 4861DBF262123605
2 changed files with 7 additions and 0 deletions

View File

@ -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.";

View File

@ -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.";