diff --git a/configs/sputnik/configuration.nix b/configs/sputnik/configuration.nix index 77aea0c..fba95f6 100644 --- a/configs/sputnik/configuration.nix +++ b/configs/sputnik/configuration.nix @@ -6,8 +6,9 @@ ./nginx.nix ./tinc.nix + #./syncplay.nix - # ./mail-server.nix + #./mail-server.nix ]; diff --git a/configs/sputnik/syncplay.nix b/configs/sputnik/syncplay.nix new file mode 100644 index 0000000..f05d6a0 --- /dev/null +++ b/configs/sputnik/syncplay.nix @@ -0,0 +1,5 @@ +{ config, ... }: { + services.syncplay.enable = true; + networking.firewall.allowedTCPPorts = [ config.services.syncplay.port ]; + networking.firewall.allowedUDPPorts = [ config.services.syncplay.port ]; +}