add 'nix-bitcoin-services' option
1. Makes the content easily accessible for module users 2. Avoids needlessly recalculating the attrset in every client module
This commit is contained in:
+1
-1
@@ -3,8 +3,8 @@
|
||||
with lib;
|
||||
|
||||
let
|
||||
nix-bitcoin-services = pkgs.callPackage ./nix-bitcoin-services.nix { };
|
||||
cfg = config.services.nanopos;
|
||||
inherit (config) nix-bitcoin-services;
|
||||
defaultItemsFile = pkgs.writeText "items.yaml" ''
|
||||
tea:
|
||||
price: 0.02 # denominated in the currency specified by --currency
|
||||
|
||||
Reference in New Issue
Block a user