Fix tailscale networking when incus is on
This commit is contained in:
@@ -10,6 +10,10 @@ in
|
|||||||
|
|
||||||
config.services.tailscale.enable = mkDefault (!config.boot.isContainer);
|
config.services.tailscale.enable = mkDefault (!config.boot.isContainer);
|
||||||
|
|
||||||
|
# Trust Tailscale interface - access control is handled by Tailscale ACLs.
|
||||||
|
# Required because nftables (used by Incus) breaks Tailscale's automatic iptables rules.
|
||||||
|
config.networking.firewall.trustedInterfaces = mkIf cfg.enable [ "tailscale0" ];
|
||||||
|
|
||||||
# MagicDNS
|
# MagicDNS
|
||||||
config.networking.nameservers = mkIf cfg.enable [ "1.1.1.1" "8.8.8.8" ];
|
config.networking.nameservers = mkIf cfg.enable [ "1.1.1.1" "8.8.8.8" ];
|
||||||
config.networking.search = mkIf cfg.enable [ "koi-bebop.ts.net" ];
|
config.networking.search = mkIf cfg.enable [ "koi-bebop.ts.net" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user