simplify user and group definitions

This commit is contained in:
Erik Arvstedt 2019-11-27 14:04:15 +01:00
parent 6c69eb8576
commit d61b185c3a
No known key found for this signature in database
GPG key ID: 33312B944DD97846
6 changed files with 7 additions and 23 deletions

View file

@ -67,9 +67,7 @@ in {
extraGroups = [ "bitcoinrpc" "keys" ];
home = cfg.dataDir;
};
users.groups.clightning = {
name = "clightning";
};
users.groups.clightning = {};
systemd.services.clightning = {
description = "Run clightningd";