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:
parent
0ef66c920b
commit
e44f78ebb8
10 changed files with 14 additions and 2 deletions
|
|
@ -230,6 +230,7 @@ in {
|
|||
}; in self;
|
||||
|
||||
users.users.${cfg.nbxplorer.user} = {
|
||||
isSystemUser = true;
|
||||
group = cfg.nbxplorer.group;
|
||||
extraGroups = [ "bitcoinrpc-public" ]
|
||||
++ optional cfg.btcpayserver.lbtc cfg.liquidd.group;
|
||||
|
|
@ -237,6 +238,7 @@ in {
|
|||
};
|
||||
users.groups.${cfg.nbxplorer.group} = {};
|
||||
users.users.${cfg.btcpayserver.user} = {
|
||||
isSystemUser = true;
|
||||
group = cfg.btcpayserver.group;
|
||||
extraGroups = [ cfg.nbxplorer.group ]
|
||||
++ optional (cfg.btcpayserver.lightningBackend == "clightning") cfg.clightning.user;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue