modules: remove unneeded use of `options` module arg

Needed by the following commit.
This commit is contained in:
Erik Arvstedt 2021-09-13 13:40:46 +02:00
parent cf70d05be0
commit 731cf647ff
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
with lib;
@ -6,7 +6,7 @@ let
cfg = config.services.charge-lnd;
nbLib = config.nix-bitcoin.lib;
lnd = config.services.lnd;
electrs = if (options ? services.electrs) && config.services.electrs.enable
electrs = if (config.services ? electrs) && config.services.electrs.enable
then config.services.electrs
else null;

View File

@ -4,7 +4,7 @@
# When using nix-bitcoin as part of a larger system config, set
# `nix-bitcoin.operator.name` to your main user name.
{ config, lib, pkgs, options, ... }:
{ config, lib, pkgs, ... }:
with lib;
let