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

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