From 8bad618631271b30b9c715b6dcf3d0a43899949c Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Wed, 22 Apr 2020 22:25:26 +0200 Subject: [PATCH] sputnik: add syncplay --- configs/sputnik/configuration.nix | 3 ++- configs/sputnik/syncplay.nix | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 configs/sputnik/syncplay.nix 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 ]; +}