clouvider-fra01: deluge
This commit is contained in:
parent
606151ddb4
commit
02112f071c
1 changed files with 19 additions and 0 deletions
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue