mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-24 20:52:24 +00:00
Compare commits
2 Commits
28418c4e37
...
472a2b965c
Author | SHA1 | Date | |
---|---|---|---|
|
472a2b965c | ||
|
79eba7f333 |
@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, lib, ... }: {
|
{ config, lib, ... }: {
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
arrServer = lib.mkOption {
|
arrServer = lib.mkOption {
|
||||||
@ -15,14 +15,17 @@
|
|||||||
services.bazarr.enable = true;
|
services.bazarr.enable = true;
|
||||||
services.prowlarr.enable = true;
|
services.prowlarr.enable = true;
|
||||||
services.sabnzbd.enable = true;
|
services.sabnzbd.enable = true;
|
||||||
|
services.sabnzbd.configFile = "/data/downloads/sabnzbd/sabnzbd.ini";
|
||||||
services.jellyseerr.enable = true;
|
services.jellyseerr.enable = true;
|
||||||
unfreePackages = [ "unrar" ]; # Required for sabnzbd
|
unfreePackages = [ "unrar" ]; # Required for sabnzbd
|
||||||
|
|
||||||
# Grant users access to destination directories
|
# Grant users access to destination directories
|
||||||
users.users.sonarr.extraGroups = [ "jellyfin" ];
|
users.users.sonarr.extraGroups = [ "jellyfin" "sabnzbd" ];
|
||||||
users.users.radarr.extraGroups = [ "jellyfin" ];
|
users.users.radarr.extraGroups = [ "jellyfin" "sabnzbd" ];
|
||||||
users.users.bazarr.extraGroups = [ "jellyfin" ];
|
users.users.bazarr.extraGroups = [ "jellyfin" "sabnzbd" ];
|
||||||
users.users.sabnzbd.extraGroups = [ "jellyfin" ];
|
users.users.sabnzbd.homeMode = "0770";
|
||||||
|
users.users.${config.user}.extraGroups = [ "sabnzbd" ];
|
||||||
|
users.users.jellyfin.extraGroups = [ "sonarr" "radarr" ];
|
||||||
|
|
||||||
# Requires updating the base_url config value in each service
|
# Requires updating the base_url config value in each service
|
||||||
# If you try to rewrite the URL, the service won't redirect properly
|
# If you try to rewrite the URL, the service won't redirect properly
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ config, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
streamServer = lib.mkOption {
|
streamServer = lib.mkOption {
|
||||||
@ -33,6 +33,12 @@
|
|||||||
"d /var/lib/jellyfin/library 0775 jellyfin jellyfin"
|
"d /var/lib/jellyfin/library 0775 jellyfin jellyfin"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Enable VA-API for hardware transcoding
|
||||||
|
hardware.opengl = {
|
||||||
|
enable = true;
|
||||||
|
extraPackages = [ pkgs.libva ];
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user