diff --git a/ops/nixos/clouvider-fra01/default.nix b/ops/nixos/clouvider-fra01/default.nix index b041c77cb1..750caaf38b 100644 --- a/ops/nixos/clouvider-fra01/default.nix +++ b/ops/nixos/clouvider-fra01/default.nix @@ -91,6 +91,8 @@ in { isSystemUser = true; extraGroups = [ "content" ]; }; + plex.extraGroups = [ "content" ]; + deluge.extraGroups = [ "content" ]; }; users.groups = { content = {}; @@ -115,5 +117,22 @@ in { 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"; }