nixos/boinc: create boinc group
This allows users that are members of the boinc group to interact with the boinc service by running: boincmgr -d /var/lib/boinc
This commit is contained in:
parent
bb549ca2d4
commit
2e5835c6b5
1 changed files with 3 additions and 1 deletions
|
@ -99,14 +99,16 @@ in
|
|||
environment.systemPackages = [cfg.package];
|
||||
|
||||
users.users.boinc = {
|
||||
group = "boinc";
|
||||
createHome = false;
|
||||
description = "BOINC Client";
|
||||
home = cfg.dataDir;
|
||||
isSystemUser = true;
|
||||
};
|
||||
users.groups.boinc = {};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d '${cfg.dataDir}' - boinc - - -"
|
||||
"d '${cfg.dataDir}' - boinc boinc - -"
|
||||
];
|
||||
|
||||
systemd.services.boinc = {
|
||||
|
|
Loading…
Reference in a new issue