From fe53d3a05653f3aa3ac4fa6b0b16e21bec52ad47 Mon Sep 17 00:00:00 2001 From: rasmus-kirk Date: Sat, 18 Jan 2025 12:33:42 +0100 Subject: [PATCH] formatted and removed old option --- flake.lock | 17 +++++++++++++++++ nixarr/jellyfin/default.nix | 5 +---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 9aa3f0e..af23c44 100644 --- a/flake.lock +++ b/flake.lock @@ -16,9 +16,26 @@ "type": "github" } }, + "nixpkgs-sonarr": { + "locked": { + "lastModified": 1732219096, + "narHash": "sha256-gbvtOPW7K7v4EFo7Feo5s+SI7FMVrCOA5CgnuMhWO/Y=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "328abff1f7a707dc8da8e802f724f025521793ea", + "type": "github" + }, + "original": { + "owner": "nixos", + "repo": "nixpkgs", + "rev": "328abff1f7a707dc8da8e802f724f025521793ea", + "type": "github" + } + }, "root": { "inputs": { "nixpkgs": "nixpkgs", + "nixpkgs-sonarr": "nixpkgs-sonarr", "vpnconfinement": "vpnconfinement" } }, diff --git a/nixarr/jellyfin/default.nix b/nixarr/jellyfin/default.nix index 1400027..804d93c 100644 --- a/nixarr/jellyfin/default.nix +++ b/nixarr/jellyfin/default.nix @@ -219,10 +219,7 @@ in locations."/" = { recommendedProxySettings = true; proxyWebsockets = true; - proxyPass = if cfg.expose.vpn.enable then - "http://192.168.15.1:${builtins.toString cfg.expose.vpn.port}" - else - "http://192.168.15.1:${builtins.toString defaultPort}"; + proxyPass = "http://192.168.15.1:${builtins.toString defaultPort}"; }; }; })