tailscale
This commit is contained in:
@@ -1,11 +1,19 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
systemd.network.wait-online.enable = false;
|
||||||
|
# Force tailscaled to use nftables (Critical for clean nftables-only systems)
|
||||||
|
# This avoids the "iptables-compat" translation layer issues.
|
||||||
|
systemd.services.tailscaled.serviceConfig.Environment = [
|
||||||
|
"TS_DEBUG_FIREWALL_MODE=nftables"
|
||||||
|
];
|
||||||
|
networking.nftables.enable = true;
|
||||||
|
boot.initrd.systemd.network.wait-online.enable = false;
|
||||||
# Services configs
|
# Services configs
|
||||||
services = {
|
services = {
|
||||||
tailscale = {
|
tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
useRoutingFeatures = "client";
|
useRoutingFeatures = "server";
|
||||||
extraUpFlags = [
|
extraUpFlags = [
|
||||||
"--advertise-exit-node"
|
"--advertise-exit-node"
|
||||||
"--accept-dns=false"
|
"--accept-dns=false"
|
||||||
|
|||||||
Reference in New Issue
Block a user