services: auto-enable dependencies

This commit is contained in:
Erik Arvstedt 2020-10-18 14:49:20 +02:00
parent 06cba7b519
commit 67e49fe415
No known key found for this signature in database
GPG key ID: 33312B944DD97846
12 changed files with 28 additions and 37 deletions

View file

@ -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";