summary refs log tree commit diff
path: root/modules/common.nix
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2025-01-12 00:33:16 +0100
committerMel <einebeere@gmail.com>2025-01-12 00:33:23 +0100
commit766dbd5d13b935fb5236e032e01c21f2706806de (patch)
tree7d0216ddaf50bbfccb515b67ceb677742b9472be /modules/common.nix
parentc8959b4a817f5ece4b7ba451137e8fbd5e20de88 (diff)
downloadnetwork-766dbd5d13b935fb5236e032e01c21f2706806de.tar.zst
network-766dbd5d13b935fb5236e032e01c21f2706806de.zip
Force service execution order for tailscale0 interface dependents
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'modules/common.nix')
-rw-r--r--modules/common.nix10
1 files changed, 2 insertions, 8 deletions
diff --git a/modules/common.nix b/modules/common.nix
index 2c183ef..e6aa4d7 100644
--- a/modules/common.nix
+++ b/modules/common.nix
@@ -7,6 +7,7 @@
     ./nix.nix
     ./user.nix
     ./locale.nix
+    ./tailscale.nix
     ./nix-ld.nix
     ./vim.nix
   ];
@@ -27,11 +28,10 @@
 
   networking = {
     hostName = me.name;
-  
+
     firewall = {
       enable = true;
       allowedTCPPorts = [ 80 443 ];
-      trustedInterfaces = [ "tailscale0" ];
     };
   };
 
@@ -60,12 +60,6 @@
         PermitRootLogin = "no";
       };
     };
-    tailscale = {
-      enable = true;
-      useRoutingFeatures = "both";
-      extraUpFlags = [ "--ssh" ];
-    };
-  
     # sometimes needed for gnupg
     pcscd.enable = true;
   };