This commit is contained in:
2025-08-13 21:18:29 +02:00
parent 70f91b3da8
commit 0ec0fa7748
3 changed files with 9 additions and 10 deletions

View File

@@ -1,3 +1,10 @@
{ pkgs, lib, ... }:
{
services.tailscale.enable = true;
services.tailscale = {
enable = true;
} // lib.optionalAttrs pkgs.stdenv.isLinux {
useRoutingFeatures = "server";
openFirewall = true;
};
}

View File

@@ -10,9 +10,9 @@
../../core
../../networking/firewall.nix
../../networking/ssh.nix
../../networking/tailscale.nix
../../services/adguard.nix
../../services/syncthing.nix
./tailscale.nix
sops-nix.nixosModules.sops
];

View File

@@ -1,8 +0,0 @@
{
services.tailscale = {
enable = true;
port = 41641;
useRoutingFeatures = "server";
openFirewall = true;
};
}