rename nodes and add runner for gitea instance

This commit is contained in:
shobu
2025-11-11 21:05:47 +01:00
parent c610ce80bc
commit 542034054c
34 changed files with 69 additions and 24 deletions

31
hosts/sin/copyparty.nix Normal file
View File

@@ -0,0 +1,31 @@
{inputs, pkgs, ...}: {
imports = [ inputs.copyparty.nixosModules.default ];
nixpkgs.overlays = [ inputs.copyparty.overlays.default ];
environment.systemPackages = [ pkgs.copyparty ];
services.copyparty = {
enable = true;
settings = {
p = [ 8086 ];
e2dsa = true;
e2ts = true;
z = true;
qr = true;
xff-src = "lan";
http-only = true;
og = true;
shr = "/shares";
};
volumes = {
"/media" = {
path = "/mnt/mediacenter/media";
access = {
r = "*";
};
};
};
};
networking.firewall.allowedTCPPorts = [ 8086 ];
}