diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-03-06 21:32:24 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-03-06 21:32:24 -0600 |
| commit | 67edac66431f9d63d2ea20e60e316519b1a20444 (patch) | |
| tree | fd61dc1177c63e104d4afef1318ac1ad6c86692c | |
| parent | 7ece3da33cc288d1b1c2a7de4599373c51b9bb1d (diff) | |
open copyparty port
| -rw-r--r-- | hosts/ganymede/config.nix | 1 | ||||
| -rw-r--r-- | modules/services/nixos/copyparty.nix | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/hosts/ganymede/config.nix b/hosts/ganymede/config.nix index 70cbfb2..b67d057 100644 --- a/hosts/ganymede/config.nix +++ b/hosts/ganymede/config.nix @@ -103,6 +103,7 @@ }; copyparty = { enable = true; + listenAddr = "0.0.0.0"; publicUrl = "up.williamsfam.us.com"; privateUrl = "files.ganymede"; diff --git a/modules/services/nixos/copyparty.nix b/modules/services/nixos/copyparty.nix index 23363a7..df7018e 100644 --- a/modules/services/nixos/copyparty.nix +++ b/modules/services/nixos/copyparty.nix @@ -14,6 +14,8 @@ in { config = lib.mkIf cfg.enable { users.groups."fileserver".members = [config.collinux.user.name]; + networking.firewall.allowedTCPPorts = lib.optional (cfg.listenAddr == "0.0.0.0") cfg.port; + services.copyparty = { enable = true; |
