modules: remove unneeded use of options
module arg
Needed by the following commit.
This commit is contained in:
parent
cf70d05be0
commit
731cf647ff
@ -1,4 +1,4 @@
|
|||||||
{ config, options, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ let
|
|||||||
cfg = config.services.charge-lnd;
|
cfg = config.services.charge-lnd;
|
||||||
nbLib = config.nix-bitcoin.lib;
|
nbLib = config.nix-bitcoin.lib;
|
||||||
lnd = config.services.lnd;
|
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
|
then config.services.electrs
|
||||||
else null;
|
else null;
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# When using nix-bitcoin as part of a larger system config, set
|
# When using nix-bitcoin as part of a larger system config, set
|
||||||
# `nix-bitcoin.operator.name` to your main user name.
|
# `nix-bitcoin.operator.name` to your main user name.
|
||||||
|
|
||||||
{ config, lib, pkgs, options, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
|
Loading…
Reference in New Issue
Block a user