add jellyfin to swan

This commit is contained in:
Noah Masur
2023-02-28 04:27:10 +00:00
parent ab9136af2c
commit 43343b2824
3 changed files with 5 additions and 2 deletions

View File

@ -20,6 +20,9 @@
}];
}];
# Grant user access to Jellyfin directories
users.users.${config.user}.extraGroups = [ "jellyfin" ];
# Create videos directory, allow anyone in Jellyfin group to manage it
systemd.tmpfiles.rules = [
"d /var/lib/jellyfin 0775 jellyfin jellyfin"