mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 20:59:32 -08:00
11 lines
275 B
Nix
11 lines
275 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
services.tailscale.enable = true;
|
|
# Defined here to indicate the settings are related
|
|
networking.firewall = {
|
|
checkReversePath = "loose";
|
|
trustedInterfaces = [ "tailscale0" ];
|
|
allowedUDPPorts = [ config.services.tailscale.port ];
|
|
};
|
|
}
|