sabnzbd: remove hardcoded uid and gid

This commit is contained in:
lschuetze
2025-08-22 16:58:00 +02:00
committed by glyph
parent 67c80a41b2
commit 938def762c
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -84,7 +84,7 @@ in
tor = 35;
cups = 36;
foldingathome = 37;
sabnzbd = 38;
#sabnzbd = 38; # dropped in 25.11
#kdm = 39; # dropped in 17.03
#ghostone = 40; # dropped in 18.03
git = 41;
@@ -570,7 +570,7 @@ in
lambdabot = 191;
asterisk = 192;
plex = 193;
sabnzbd = 194;
#sabnzbd = 194; # dropped in 25.11
#grafana = 196; #unused
#skydns = 197; #unused
# ripple-rest = 198; # unused, removed 2017-08-12
@@ -57,14 +57,14 @@ in
config = mkIf cfg.enable {
users.users = mkIf (cfg.user == "sabnzbd") {
sabnzbd = {
uid = config.ids.uids.sabnzbd;
isSystemUser = true;
group = cfg.group;
description = "sabnzbd user";
};
};
users.groups = mkIf (cfg.group == "sabnzbd") {
sabnzbd.gid = config.ids.gids.sabnzbd;
sabnzbd = { };
};
systemd.services.sabnzbd = {