add module assertions

This commit is contained in:
nixbitcoin
2020-06-17 09:23:17 +00:00
parent 23cd323ad1
commit f280d54bb8
8 changed files with 51 additions and 0 deletions
+6
View File
@@ -83,6 +83,12 @@ in {
};
config = mkIf cfg.enable {
assertions = [
{ assertion = config.services.bitcoind.prune == 0;
message = "lnd does not support bitcoind pruning.";
}
];
environment.systemPackages = [ cfg.package (hiPrio cfg.cli) ];
systemd.tmpfiles.rules = [