about summary refs log tree commit diff
path: root/users/tazjin/nixos/polyanka/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-04-16T20·21+0200
committertazjin <tazjin@tvl.su>2022-04-16T20·35+0000
commit78c966dc78e12bd00cac3987f4f221a760850010 (patch)
treedf4baefa0470f8edb7bb88e0c92538ac66548b12 /users/tazjin/nixos/polyanka/default.nix
parent792de59c64b4a018206e316b6b70db65274c2737 (diff)
feat(tazjin/polyanka): deploy a tgsa instance r/3966
Change-Id: I8a32c093eb0ac8f6a0c3cfbb358d46d97d0c3b17
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5469
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'users/tazjin/nixos/polyanka/default.nix')
-rw-r--r--users/tazjin/nixos/polyanka/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/tazjin/nixos/polyanka/default.nix b/users/tazjin/nixos/polyanka/default.nix
index 7d25be148700..87a36408c08f 100644
--- a/users/tazjin/nixos/polyanka/default.nix
+++ b/users/tazjin/nixos/polyanka/default.nix
@@ -7,10 +7,13 @@ _: # ignore readTree options
 
 let
   mod = name: depot.path + ("/ops/modules/" + name);
+  usermod = name: depot.path + ("/users/tazjin/nixos/modules/" + name);
 in
 {
   imports = [
     (mod "quassel.nix")
+    (mod "www/base.nix")
+    (usermod "tgsa.nix")
   ];
 
   # Use the GRUB 2 boot loader.
@@ -63,6 +66,7 @@ in
     defaultGateway6.address = "2a02:750:7:3305::1";
 
     firewall.enable = true;
+    firewall.allowedTCPPorts = [ 22 80 443 ];
 
     nameservers = [
       "79.99.4.100"