From d0964c01a7e068df5b7d2fad29f8fe95f2e61271 Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Sun, 31 Aug 2025 21:28:31 +0200 Subject: [PATCH] copyparty++ --- system-modules/nx2site/copyparty.nix | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/system-modules/nx2site/copyparty.nix b/system-modules/nx2site/copyparty.nix index 93d97ca..a8dd8fe 100644 --- a/system-modules/nx2site/copyparty.nix +++ b/system-modules/nx2site/copyparty.nix @@ -8,16 +8,21 @@ package = pkgs.copyparty; openFilesLimit = 8192; settings = { - i = [ "0.0.0.0" "unix:770:copyparty:/dev/shm/party.sock" ]; + p = [ 3210 3211 ]; - no-reload = true; + i = [ "0.0.0.0" "unix:770:copyparty:/dev/shm/party.sock" ]; + name = "NxCopyParty"; + ignored-flag = false; - shr = "/shares"; - css-browser = "https://nx2.site/copyparty/extra-browser.css"; - theme = 6; - xff-hdr = "X-Forwarded-For"; # so that cpp knows the real client ip behind nginx. Must match with nginx config - rproxy = 1; + no-reload = true; no-robots = true; + + rproxy = 1; + xff-hdr = "X-Forwarded-For"; # so that cpp knows the real client ip behind nginx. Must match with nginx config + + shr = "/shares"; + css-browser = "https://${hyper.domain}/copyparty/extra-browser.css"; + theme = 6; }; accounts = { "${hyper.user}" = {