This commit is contained in:
4DBug
2026-02-05 11:43:59 -06:00
parent a3176689a8
commit 5da5790268
3 changed files with 53 additions and 0 deletions

48
modules/copyparty.nix Normal file
View File

@@ -0,0 +1,48 @@
{ config, pkgs, ... }:
{
nixpkgs.overlays = [ copyparty.overlays.default ];
services.copyparty = {
enable = true;
user = "copyparty";
group = "copyparty";
settings = {
i = "0.0.0.0";
p = [ 3210 3211 ];
no-reload = true;
ignored-flag = false;
};
accounts = {
bug = {
passwordFile = "";
};
};
groups = {
g1 = [ "bug" ];
};
volumes = {
"/" = {
path = "/srv/copyparty";
access = {
r = "*";
rw = [ "bug" ];
};
flags = {
fk = 4;
scan = 60;
};
};
};
openFilesLimit = 8192;
};
}