diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-03-26 09:19:11 -0500 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-03-26 09:19:11 -0500 |
| commit | 6154fca38879afcb57f16adad002df083876116d (patch) | |
| tree | fa30fa7334eb9ac95dc0dff6de586ab5f2e422c5 /modules/services/nixos/copyparty.nix | |
| parent | 716a1d1f79024dc0629c61bc912a570a4a200a25 (diff) | |
changes
Diffstat (limited to 'modules/services/nixos/copyparty.nix')
| -rw-r--r-- | modules/services/nixos/copyparty.nix | 22 |
1 files changed, 2 insertions, 20 deletions
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 = "*"; }; }) ]))); |
