updates and stuff

This commit is contained in:
mjallen18
2024-12-27 13:32:29 -06:00
parent c80092f588
commit 9caa802d46
9 changed files with 206 additions and 41 deletions

View File

@@ -60,6 +60,19 @@ in
configFile = "${sabnzbdConfig}/sabnzbd.ini";
};
services.deluge = {
enable = true;
user = "arrs";
group = "media";
openFirewall = true;
dataDir = "/media";
web = {
enable = true;
port = 8112;
openFirewall = true;
};
};
# Create required users and groups
users.users.arrs = {
isSystemUser = true;
@@ -75,10 +88,11 @@ in
# System packages
environment.systemPackages = with pkgs; [
glib
sqlite
mono
mediainfo
protonvpn-cli
protonvpn-cli_2
];
# Create and set permissions for required directories
@@ -150,6 +164,10 @@ in
hostPath = "/media/nas/main/tv";
isReadOnly = false;
};
"/media/isos" = {
hostPath = "/media/nas/main/isos";
isReadOnly = false;
};
};
};
@@ -167,6 +185,10 @@ in
destination = "10.0.1.51:8080";
sourcePort = sabnzbdPort;
}
{
destination = "10.0.1.51:8112";
sourcePort = 8112;
}
];
};
}