about summary refs log tree commit diff
path: root/users/tazjin/nixos/polyanka
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin/nixos/polyanka')
-rw-r--r--users/tazjin/nixos/polyanka/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/users/tazjin/nixos/polyanka/default.nix b/users/tazjin/nixos/polyanka/default.nix
index eed36d656a34..c7f41b95aa0c 100644
--- a/users/tazjin/nixos/polyanka/default.nix
+++ b/users/tazjin/nixos/polyanka/default.nix
@@ -125,10 +125,11 @@ in
   programs.mosh.enable = true;
   services.openssh.enable = true;
 
-  services.zerotierone.enable = true;
-  services.zerotierone.joinNetworks = [
-    "35c192ce9bd4c8c7"
-  ];
+  services.tailscale.enable = true;
+  boot.kernel.sysctl = {
+    "net.ipv4.ip_forward" = 1;
+    "net.ipv6.conf.all.forwarding" = 1;
+  };
 
   system.stateVersion = "20.09";
 }