summary refs log tree commit diff stats
path: root/modules/programs
diff options
context:
space:
mode:
authorAlan Pearce2019-09-28 22:17:01 +0200
committerAlan Pearce2019-09-28 22:19:03 +0200
commitc7946cd972c5d06e4d3c2912cf6ec7ca18c68327 (patch)
tree716ef3da45191812c0fede5506edb9e135892fe4 /modules/programs
parent821cad4aa7d3241e618b2114ae3a91dc1372976b (diff)
downloadnixos-configuration-c7946cd972c5d06e4d3c2912cf6ec7ca18c68327.tar.lz
nixos-configuration-c7946cd972c5d06e4d3c2912cf6ec7ca18c68327.tar.zst
nixos-configuration-c7946cd972c5d06e4d3c2912cf6ec7ca18c68327.zip
Add barrier module for controlling multiple systems
Diffstat (limited to 'modules/programs')
-rw-r--r--modules/programs/barrier.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/programs/barrier.nix b/modules/programs/barrier.nix
new file mode 100644
index 0000000..9a73620
--- /dev/null
+++ b/modules/programs/barrier.nix
@@ -0,0 +1,7 @@
+{ config, pkgs, ... }: {
+  environment.systemPackages = with pkgs; [
+    barrier
+  ];
+
+  networking.firewall.allowedTCPPorts = [ 24800 ];
+}