diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-02-18 13:38:06 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-02-18 13:38:06 -0600 |
| commit | d3067bf640c8d0d30c11ae679ad54b7dd874026b (patch) | |
| tree | 6032122b4e88c059ae29208a54c81df037db4e46 /modules | |
| parent | f87f57b725e3f17a80aab3d5610effac5364d434 (diff) | |
random additions to copyparty config
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/services/nixos/copyparty.nix | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/modules/services/nixos/copyparty.nix b/modules/services/nixos/copyparty.nix index 12e32d6..bba63d4 100644 --- a/modules/services/nixos/copyparty.nix +++ b/modules/services/nixos/copyparty.nix @@ -23,15 +23,14 @@ in { settings = { i = cfg.listenAddr; p = [cfg.port]; - chpw = true; rproxy = "1"; tls = false; + usernames = true; + no-robots = true; + chmod-d = "775"; e2dsa = true; - e2ts = true; - - chmod-d = "775"; }; accounts = @@ -62,6 +61,7 @@ in { flags = { fk = 6; dk = 6; + e2t = true; # enable music indexing }; }; @@ -71,7 +71,13 @@ in { wG = "*"; A = "@admin"; }; - flags.fk = 6; + 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 + }; }; } ] |
