Improve abstraction of deployment keys
This commit is contained in:
parent
c79aaf9695
commit
9ed888b9c2
3 changed files with 28 additions and 23 deletions
|
|
@ -5,7 +5,7 @@ with lib;
|
|||
let
|
||||
cfg = config.services.clightning;
|
||||
configFile = pkgs.writeText "config" ''
|
||||
autolisten=${toString cfg.autolisten}
|
||||
autolisten=${if cfg.autolisten then "true" else "false"}
|
||||
network=bitcoin
|
||||
bitcoin-rpcuser=${cfg.bitcoin-rpcuser}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue