From 6154fca38879afcb57f16adad002df083876116d Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Thu, 26 Mar 2026 09:19:11 -0500 Subject: changes --- modules/services/nixos/copyparty.nix | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'modules/services/nixos/copyparty.nix') diff --git a/modules/services/nixos/copyparty.nix b/modules/services/nixos/copyparty.nix index cfc69bc..0e607e2 100644 --- a/modules/services/nixos/copyparty.nix +++ b/modules/services/nixos/copyparty.nix @@ -78,21 +78,6 @@ in { e2ts = true; # enable music indexing }; }; - - "/incoming" = { - path = "/media/incoming"; - access = { - wG = "*"; - A = "@admin"; - }; - flags = { - fk = 6; - dk = 6; - lifetime = 21600; # files deleted after 6hrs - nosub = true; # must upload to top-level folder - maxb = "20g,21600"; # each IP can upload a max of 20GB every 6 hrs - }; - }; } ] ++ lib.lists.flatten (cfg.users @@ -100,16 +85,13 @@ in { { "/${k}" = { path = "/media/${k}"; - access.A = k; + access.rwd = k; }; } (lib.optionalAttrs v.hasPublicDir { "/public/${k}" = { path = "/media/${k}/public"; - access = { - r = "*"; - A = k; - }; + access.r = "*"; }; }) ]))); -- cgit v1.3.1