From 766dbd5d13b935fb5236e032e01c21f2706806de Mon Sep 17 00:00:00 2001 From: Mel Date: Sun, 12 Jan 2025 00:33:16 +0100 Subject: Force service execution order for tailscale0 interface dependents Signed-off-by: Mel --- modules/common.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'modules/common.nix') 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; }; -- cgit 1.4.1