modules/network: trust tailscale interface
This commit is contained in:
parent
4b5516bdf1
commit
189acd2c84
1 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,9 @@ in
|
|||
|
||||
services.resolved.enable = mkIf cfg.localdns.enable false;
|
||||
|
||||
networking.firewall.trustedInterfaces = [
|
||||
config.services.tailscale.interfaceName
|
||||
];
|
||||
services.tailscale = mkIf cfg.localdns.enable {
|
||||
extraUpFlags = [ "--accept-dns=false" ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue