add module assertions
This commit is contained in:
parent
23cd323ad1
commit
f280d54bb8
8 changed files with 51 additions and 0 deletions
|
|
@ -33,6 +33,15 @@ in {
|
|||
|
||||
config = mkMerge [
|
||||
(mkIf (cfg.ledger || cfg.trezor) {
|
||||
assertions = [
|
||||
{ assertion = (config.services.bitcoind.disablewallet == null || !config.services.bitcoind.disablewallet);
|
||||
message = ''
|
||||
Hardware-Wallets are not compatible with bitcoind.disablewallet.
|
||||
Note that this option is active when enabling electrs.high-memory.
|
||||
'';
|
||||
}
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
nix-bitcoin.hwi
|
||||
# Provides lsusb for debugging
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue