services: auto-enable dependencies
This commit is contained in:
parent
06cba7b519
commit
67e49fe415
12 changed files with 28 additions and 37 deletions
|
|
@ -100,6 +100,8 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.bitcoind.enable = true;
|
||||
|
||||
environment.systemPackages = [ pkgs.nix-bitcoin.clightning (hiPrio cfg.cli) ];
|
||||
users.users.${cfg.user} = {
|
||||
description = "clightning User";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue