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}" = {