summaryrefslogtreecommitdiff
path: root/host
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-10-02 10:06:42 +0200
committerAdrian Kummerlaender2018-10-02 10:06:42 +0200
commit88130055a1606bc497a90bc798b43b3d7b8fa864 (patch)
tree78006505edbc9550ed9c1c1f9c8b78160928a1e8 /host
parent824db7ca03d3d6b026bfbb4e74aa5d0d3205a3c1 (diff)
downloadnixos_system-88130055a1606bc497a90bc798b43b3d7b8fa864.tar
nixos_system-88130055a1606bc497a90bc798b43b3d7b8fa864.tar.gz
nixos_system-88130055a1606bc497a90bc798b43b3d7b8fa864.tar.bz2
nixos_system-88130055a1606bc497a90bc798b43b3d7b8fa864.tar.lz
nixos_system-88130055a1606bc497a90bc798b43b3d7b8fa864.tar.xz
nixos_system-88130055a1606bc497a90bc798b43b3d7b8fa864.tar.zst
nixos_system-88130055a1606bc497a90bc798b43b3d7b8fa864.zip
Add syncthing to automatix
Diffstat (limited to 'host')
-rw-r--r--host/automatix.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/host/automatix.nix b/host/automatix.nix
index a439bc9..cb75ed1 100644
--- a/host/automatix.nix
+++ b/host/automatix.nix
@@ -19,7 +19,9 @@
hostName = "automatix";
firewall = {
- allowedTCPPorts = [ 22 80 443 ];
+ enable = true;
+ # open Nginx ports, other services open their own ports
+ allowedTCPPorts = [ 80 443 ];
};
};
@@ -32,5 +34,11 @@
recommendedProxySettings = true;
recommendedTlsSettings = true;
};
+
+ syncthing = {
+ enable = true;
+ group = "users";
+ openDefaultPorts = true;
+ };
};
}