clouvider-fra01: deluge

This commit is contained in:
Luke Granger-Brown 2020-05-09 11:14:37 +01:00
parent 606151ddb4
commit 02112f071c

View file

@ -91,6 +91,8 @@ in {
isSystemUser = true; isSystemUser = true;
extraGroups = [ "content" ]; extraGroups = [ "content" ];
}; };
plex.extraGroups = [ "content" ];
deluge.extraGroups = [ "content" ];
}; };
users.groups = { users.groups = {
content = {}; content = {};
@ -115,5 +117,22 @@ in {
package = depot.nix.pkgs.plex-pass; package = depot.nix.pkgs.plex-pass;
}; };
services.deluge = {
enable = true;
declarative = true;
openFirewall = true;
dataDir = "/store/deluge";
config = {
upnp = false;
natpmp = false;
max_active_seeding = 100;
max_active_downloading = 100;
max_active_limit = 200;
move_completed_paths_list = [ "/store/content/Anime" "/store/content/Films" "/store/content/TV" ];
};
web.enable = true;
};
system.stateVersion = "20.03"; system.stateVersion = "20.03";
} }