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-14 10:46:40 +02:00
parent 0ef66c920b
commit e44f78ebb8
10 changed files with 14 additions and 2 deletions
+1
View File
@@ -106,6 +106,7 @@ in {
};
users.users.${cfg.user} = {
isSystemUser = true;
group = cfg.group;
extraGroups = [ "bitcoinrpc-public" ] ++ optionals cfg.high-memory [ bitcoind.user ];
};