refactor: move tailscale to abaduh folder

This commit is contained in:
Guz
2025-09-13 22:09:21 -03:00
parent 91dc80922e
commit 8cafd72234
3 changed files with 1 additions and 1 deletions

View File

@@ -1,6 +1,5 @@
{...}: {
imports = [
./tailscale.nix
./caddy.nix
./cloudflare.nix
];

View File

@@ -1,18 +0,0 @@
{
config,
lib,
...
}:
with lib; {
services.tailscale = {
enable = true;
extraUpFlags = [
"--advertise-exit-node"
];
useRoutingFeatures = "both";
permitCertUid = mkIf config.services.caddy.enable "caddy";
};
boot.kernel.sysctl."net.ipv4.ip_forward" = mkDefault 1;
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = mkDefault 1;
}