aboutsummaryrefslogtreecommitdiff
path: root/modules/services
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-03-06 21:32:24 -0600
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-03-06 21:32:24 -0600
commit67edac66431f9d63d2ea20e60e316519b1a20444 (patch)
treefd61dc1177c63e104d4afef1318ac1ad6c86692c /modules/services
parent7ece3da33cc288d1b1c2a7de4599373c51b9bb1d (diff)
open copyparty port
Diffstat (limited to 'modules/services')
-rw-r--r--modules/services/nixos/copyparty.nix2
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;