tailscale
This commit is contained in:
parent
9b787bc3bd
commit
de1431d175
3 changed files with 15 additions and 1 deletions
|
|
@ -1,5 +1,14 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
networking = {
|
||||
useDHCP = lib.mkDefault true;
|
||||
nftables.enable = true;
|
||||
firewall = {
|
||||
enable = true;
|
||||
trustedInterfaces = [ "tailscale0" ];
|
||||
allowedUDPPorts = [ config.services.tailscale.port ];
|
||||
};
|
||||
systemd.network.wait-online.enable = false;
|
||||
boot.initrd.systemd.network.wait-online.enable = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue