diff --git a/lxc-nix/modules/rutorrent.nix b/lxc-nix/modules/rutorrent.nix index 54eaab5..93dea2f 100644 --- a/lxc-nix/modules/rutorrent.nix +++ b/lxc-nix/modules/rutorrent.nix @@ -16,8 +16,10 @@ let screenshots = [ ffmpeg ]; }; + python = with pkgs; (python312.withPackages (p: with p; [ cloudscraper cfscrape ])); + phpPluginDependencies = with pkgs; { - _cloudflare = [ python3 ]; + _cloudflare = [ python ]; }; getPluginDependencies = dependencies: concatMap (p: attrByPath [ p ] [ ] dependencies); @@ -194,6 +196,7 @@ in "id" => "${pkgs.coreutils}/bin/id", // Something like /usr/bin/id. If empty, will be found in PATH. "stat" => "${pkgs.coreutils}/bin/stat", // Something like /usr/bin/stat. If empty, will be found in PATH. "pgrep" => "${pkgs.procps}/bin/pgrep", // TODO why can't we use phpEnv.PATH + "python" => "${python}/bin/python3", ); $localhosts = array( // list of local interfaces