This commit is contained in:
rasmus-kirk
2025-06-03 09:07:52 +02:00
parent 3688659a49
commit a72ca94008
5 changed files with 7 additions and 6 deletions
+1
View File
@@ -23,6 +23,7 @@ Added:
- Prowlarr - Prowlarr
- Readarr - Readarr
- Lidarr - Lidarr
- UID/GID's are now static, this should make future backups and migrations more predictable.
Migration: Migration:
- Due to how UID/GID's are handled in this new version, certain services - Due to how UID/GID's are handled in this new version, certain services
+1 -1
View File
@@ -172,7 +172,7 @@ with lib; let
echo "Backing up /etc/passwd and /etc/group..." echo "Backing up /etc/passwd and /etc/group..."
mkdir "${nixarr.stateDir}/migration-backup" mkdir -p "${nixarr.stateDir}/migration-backup"
cp /etc/passwd "${nixarr.stateDir}/migration-backup/passwd.bak" cp /etc/passwd "${nixarr.stateDir}/migration-backup/passwd.bak"
cp /etc/group "${nixarr.stateDir}/migration-backup/group.bak" cp /etc/group "${nixarr.stateDir}/migration-backup/group.bak"
+1 -1
View File
@@ -142,7 +142,7 @@ in {
groups.${globals.plex.group}.gid = globals.gids.${globals.plex.group}; groups.${globals.plex.group}.gid = globals.gids.${globals.plex.group};
users.${globals.plex.user} = { users.${globals.plex.user} = {
isSystemUser = true; isSystemUser = true;
group = group; group = globals.plex.group;
uid = globals.uids.${globals.plex.user}; uid = globals.uids.${globals.plex.user};
}; };
}; };
+2 -2
View File
@@ -138,7 +138,7 @@ in {
fi fi
chmod 600 ${ini-file-target} chmod 600 ${ini-file-target}
chown usenet:media ${ini-file-target} chown ${globals.sabnzbd.user}:${globals.sabnzbd.group} ${ini-file-target}
''; '';
}; };
@@ -189,7 +189,7 @@ in {
groups.${globals.sabnzbd.group}.gid = globals.gids.${globals.sabnzbd.group}; groups.${globals.sabnzbd.group}.gid = globals.gids.${globals.sabnzbd.group};
users.${globals.sabnzbd.user} = { users.${globals.sabnzbd.user} = {
isSystemUser = true; isSystemUser = true;
group = group; group = globals.sabnzbd.group;
uid = globals.uids.${globals.sabnzbd.user}; uid = globals.uids.${globals.sabnzbd.user};
}; };
}; };
+1 -1
View File
@@ -25,7 +25,7 @@ in {
bazarr = 232; bazarr = 232;
lidarr = 306; lidarr = 306;
prowlarr = 293; prowlarr = 293;
jellyseerr = 250; jellyseerr = 262;
sonarr = 274; sonarr = 274;
radarr = 275; radarr = 275;
readarr = 250; readarr = 250;