From b98dce621fe909dfda3421e4c6bf8efd9acef442 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Fri, 31 May 2024 02:15:09 +0200 Subject: [PATCH] Provide qbit access to tun device again --- hosts/nixos/lapetus/services/qbittorrent.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/nixos/lapetus/services/qbittorrent.nix b/hosts/nixos/lapetus/services/qbittorrent.nix index 0728d14..773eea4 100644 --- a/hosts/nixos/lapetus/services/qbittorrent.nix +++ b/hosts/nixos/lapetus/services/qbittorrent.nix @@ -21,6 +21,7 @@ in "--cap-add=net_admin" "--sysctl=net.ipv4.conf.all.src_valid_mark=1" "--sysctl=net.ipv6.conf.all.disable_ipv6=0" + "--device=/dev/net/tun" ]; volumes = [ @@ -33,7 +34,7 @@ in ports = [ "${toString port}:8080" ]; environment = { - VPN_TYPE = "openvpn"; + VPN_TYPE = "wireguard"; TZ = "Europe/Amsterdam"; PGID = "100"; PUID = "1000";