mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
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
@ -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 New Issue
Block a user