services: set isSystemUser for service users

'isSystemUser' has to be explicitly set in NixOS 21.05.
Previously, it was the implicit default.
This commit is contained in:
Erik Arvstedt
2021-08-05 00:48:59 +02:00
parent 0ef66c920b
commit e44f78ebb8
10 changed files with 14 additions and 2 deletions

View File

@@ -263,6 +263,7 @@ in {
};
users.users.${cfg.user} = {
isSystemUser = true;
group = cfg.group;
extraGroups = [ "bitcoinrpc-public" ];
home = cfg.dataDir; # lnd creates .lnd dir in HOME