Compare commits

..

No commits in common. "472a2b965c2efc8f35adeb198b7ad24eb085b0ba" and "28418c4e373267016c42dc0a05b2ad27a1396b58" have entirely different histories.

2 changed files with 6 additions and 15 deletions

View File

@ -1,4 +1,4 @@
{ config, lib, ... }: {
{ config, pkgs, lib, ... }: {
options = {
arrServer = lib.mkOption {
@ -15,17 +15,14 @@
services.bazarr.enable = true;
services.prowlarr.enable = true;
services.sabnzbd.enable = true;
services.sabnzbd.configFile = "/data/downloads/sabnzbd/sabnzbd.ini";
services.jellyseerr.enable = true;
unfreePackages = [ "unrar" ]; # Required for sabnzbd
# Grant users access to destination directories
users.users.sonarr.extraGroups = [ "jellyfin" "sabnzbd" ];
users.users.radarr.extraGroups = [ "jellyfin" "sabnzbd" ];
users.users.bazarr.extraGroups = [ "jellyfin" "sabnzbd" ];
users.users.sabnzbd.homeMode = "0770";
users.users.${config.user}.extraGroups = [ "sabnzbd" ];
users.users.jellyfin.extraGroups = [ "sonarr" "radarr" ];
users.users.sonarr.extraGroups = [ "jellyfin" ];
users.users.radarr.extraGroups = [ "jellyfin" ];
users.users.bazarr.extraGroups = [ "jellyfin" ];
users.users.sabnzbd.extraGroups = [ "jellyfin" ];
# Requires updating the base_url config value in each service
# If you try to rewrite the URL, the service won't redirect properly

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: {
{ config, lib, ... }: {
options = {
streamServer = lib.mkOption {
@ -33,12 +33,6 @@
"d /var/lib/jellyfin/library 0775 jellyfin jellyfin"
];
# Enable VA-API for hardware transcoding
hardware.opengl = {
enable = true;
extraPackages = [ pkgs.libva ];
};
};
}