mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
perms
This commit is contained in:
parent
bc0219c2e3
commit
9da562b734
1 changed files with 8 additions and 5 deletions
|
|
@ -31,11 +31,14 @@
|
|||
environment.systemPackages = [
|
||||
pkgs.unpackerr
|
||||
];
|
||||
users.users.unpackerr.group = "unpackerr";
|
||||
users.groups.unpackerr = {};
|
||||
users.users.unpackerr = { # Unpackerr user (created by its service) added to group
|
||||
extraGroups = [ "media_services" ];
|
||||
};
|
||||
users.groups.unpackerr = {};
|
||||
|
||||
# 2. Define the 'unpackerr' user
|
||||
users.users.unpackerr = {
|
||||
description = "Unpackerr daemon user";
|
||||
isSystemUser = true; # This tells NixOS it's a system user
|
||||
group = "unpackerr"; # Sets the primary group
|
||||
extraGroups = [ "media_services" ]; # Add
|
||||
|
||||
users.groups.radarr = {};
|
||||
users.groups.sonarr = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue