10 lines
245 B
Nix
10 lines
245 B
Nix
|
{ config, pkgs, ... }:
|
||
|
{
|
||
|
environment.systemPackages = [ pkgs.tailscale ];
|
||
|
services.tailscale.enable = true;
|
||
|
networking.firewall = {
|
||
|
trustedInterfaces = [ "tailscale0" ];
|
||
|
allowedUDPPorts = [ config.services.tailscale.port ];
|
||
|
};
|
||
|
}
|