Merge #238: Deprecate lightning-charge and nanopos

36c9c39d80 Deprecate lightning-charge and nanopos (Jonas Nick)

Pull request description:

ACKs for top commit:
  nixbitcoin:
    ACK 36c9c39d80

Tree-SHA512: 3d69b8eb56f7afabfe13942e717f74d5ead76b6f6b6788130d86e0e5409d2408a66ddccd7c5b28b058388c365f8f5c9055d0a8f2fe68704d01e6ccdafb791690
This commit is contained in:
Jonas Nick 2020-09-22 14:29:43 +00:00
commit bde530c4bf
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 {
warnings = [''
The lightning-charge module is deprecated and will be removed soon.
''];
assertions = [
{ assertion = config.services.clightning.enable;
message = "lightning-charge requires clightning.";

View File

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