Hotfix
This commit is contained in:
@@ -23,6 +23,7 @@ Added:
|
||||
- Prowlarr
|
||||
- Readarr
|
||||
- Lidarr
|
||||
- UID/GID's are now static, this should make future backups and migrations more predictable.
|
||||
|
||||
Migration:
|
||||
- Due to how UID/GID's are handled in this new version, certain services
|
||||
|
||||
@@ -172,7 +172,7 @@ with lib; let
|
||||
|
||||
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/group "${nixarr.stateDir}/migration-backup/group.bak"
|
||||
|
||||
|
||||
@@ -142,7 +142,7 @@ in {
|
||||
groups.${globals.plex.group}.gid = globals.gids.${globals.plex.group};
|
||||
users.${globals.plex.user} = {
|
||||
isSystemUser = true;
|
||||
group = group;
|
||||
group = globals.plex.group;
|
||||
uid = globals.uids.${globals.plex.user};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -138,7 +138,7 @@ in {
|
||||
fi
|
||||
|
||||
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};
|
||||
users.${globals.sabnzbd.user} = {
|
||||
isSystemUser = true;
|
||||
group = group;
|
||||
group = globals.sabnzbd.group;
|
||||
uid = globals.uids.${globals.sabnzbd.user};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -25,7 +25,7 @@ in {
|
||||
bazarr = 232;
|
||||
lidarr = 306;
|
||||
prowlarr = 293;
|
||||
jellyseerr = 250;
|
||||
jellyseerr = 262;
|
||||
sonarr = 274;
|
||||
radarr = 275;
|
||||
readarr = 250;
|
||||
|
||||
Reference in New Issue
Block a user