fix media server problems
This commit is contained in:
parent
3edf31371f
commit
84a156f261
6 changed files with 19 additions and 74 deletions
|
|
@ -24,6 +24,8 @@ in
|
|||
};
|
||||
|
||||
config = {
|
||||
users.users.${cfg.user}.extraGroups = lib.mkIf cfg.jellyfin.enable [ "render" "video" ];
|
||||
|
||||
services.sonarr = lib.mkIf cfg.sonarr.enable {
|
||||
enable = true;
|
||||
user = cfg.user;
|
||||
|
|
@ -45,6 +47,10 @@ in
|
|||
openFirewall = false;
|
||||
};
|
||||
|
||||
systemd.services.jellyfin.environment = lib.mkIf cfg.jellyfin.enable {
|
||||
LIBVA_DRIVER_NAME = "iHD";
|
||||
};
|
||||
|
||||
services.deluge = lib.mkIf cfg.deluge.enable {
|
||||
enable = true;
|
||||
user = cfg.user;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue