test disabling && btc.enable

This commit is contained in:
Bryan Ramos 2024-05-14 23:53:16 -04:00
parent b490506e8d
commit 431e448836
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8

View file

@ -11,7 +11,7 @@ let
in
{ options.modules.system.bitcoin.electrum = { enable = mkEnableOption "system.bitcoin.electrum"; };
config = mkIf (cfg.enable && btc.enable) {
config = mkIf cfg.enable {
nixpkgs.overlays = [
(final: prev: {
electrs = prev.electrs.overrideAttrs (old: rec {