From f9ecc03f9d36c8921dfb0ef5cab07f792e1bb585 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Thu, 24 Jul 2025 17:56:36 +0200 Subject: [PATCH] put back the custom dirs Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- server-modules/arr.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/server-modules/arr.nix b/server-modules/arr.nix index 7610a73..3d7a518 100644 --- a/server-modules/arr.nix +++ b/server-modules/arr.nix @@ -10,15 +10,12 @@ }; username = config.var.username; in { - # Add my user to the media group - users.users."${username}".extraGroups = ["media"]; - # Add my secrets sops.secrets = { - # recyclarr = { - # owner = "recyclarr"; - # mode = "0777"; - # }; + recyclarr = { + owner = "recyclarr"; + mode = "0777"; + }; wireguard-pia = { group = "media"; mode = "0600"; @@ -28,6 +25,10 @@ in { nixarr = { enable = true; + mediaUsers = [username]; + mediaDir = "/mnt/data/media"; + stateDir = "/mnt/data/.state/nixarr"; + vpn = { enable = true; wgConf = config.sops.secrets.wireguard-pia.path; @@ -45,8 +46,7 @@ in { vpn.enable = true; }; recyclarr = { - # TODO: fix recyclarr - enable = false; + enable = true; configFile = config.sops.secrets.recyclarr.path; }; };