diff --git a/modules/lightning-charge.nix b/modules/lightning-charge.nix index 18e27ba..8ec9521 100644 --- a/modules/lightning-charge.nix +++ b/modules/lightning-charge.nix @@ -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."; diff --git a/modules/nanopos.nix b/modules/nanopos.nix index eb410d0..2d6aa47 100644 --- a/modules/nanopos.nix +++ b/modules/nanopos.nix @@ -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.";