Merge #238: Deprecate lightning-charge and nanopos
36c9c39d80Deprecate lightning-charge and nanopos (Jonas Nick) Pull request description: ACKs for top commit: nixbitcoin: ACK36c9c39d80Tree-SHA512: 3d69b8eb56f7afabfe13942e717f74d5ead76b6f6b6788130d86e0e5409d2408a66ddccd7c5b28b058388c365f8f5c9055d0a8f2fe68704d01e6ccdafb791690
This commit is contained in:
commit
bde530c4bf
2 changed files with 7 additions and 0 deletions
|
|
@ -35,6 +35,9 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
warnings = [''
|
||||
The lightning-charge module is deprecated and will be removed soon.
|
||||
''];
|
||||
assertions = [
|
||||
{ assertion = config.services.clightning.enable;
|
||||
message = "lightning-charge requires clightning.";
|
||||
|
|
|
|||
|
|
@ -72,6 +72,10 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
warnings = [''
|
||||
The nanopos module is deprecated and will be removed soon. You can use the
|
||||
btcpayserver module instead.
|
||||
''];
|
||||
assertions = [
|
||||
{ assertion = config.services.lightning-charge.enable;
|
||||
message = "nanopos requires lightning-charge.";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue