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 /modules | |
| parent | 7ece3da33cc288d1b1c2a7de4599373c51b9bb1d (diff) | |
open copyparty port
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/services/nixos/copyparty.nix | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
