put back the custom dirs

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2025-07-24 17:56:36 +02:00
parent a419fb2214
commit f9ecc03f9d

View File

@@ -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;
};
};