From 8204a1baa5a8172d167b511c97c3e7e0c715118d Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sat, 18 Nov 2023 15:47:58 +0100 Subject: [PATCH] fixing tdarr --- nixos/machines/robi/media-tdarr.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/nixos/machines/robi/media-tdarr.nix b/nixos/machines/robi/media-tdarr.nix index cd2c418..df606ec 100644 --- a/nixos/machines/robi/media-tdarr.nix +++ b/nixos/machines/robi/media-tdarr.nix @@ -23,11 +23,16 @@ PGID = toString config.users.groups.media.gid; }; ports = [ - "8265:8265" # WebUI - "8266:8266" # server port + "127.0.0.1:8265:8265" # WebUI + # "8266:8266" # server port ]; image = "ghcr.io/haveagitgat/tdarr:latest"; # Warning: if the tag does not change, the image will not be updated - #extraOptions = [ "--network=bridge" ]; + extraOptions = [ + #"--network=bridge" + "--privileged" + #"--gpus=all" + "--device=/dev/dri:/dev/dri" + ]; }; };