From 9792cba61bb7cfa0e7ec331294dce1ca36fc2f0b Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Sat, 6 May 2023 22:44:43 +0100 Subject: [PATCH] Add tailscale client to desktops --- hosts/desktop.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/desktop.nix b/hosts/desktop.nix index b5fb5d8..c1fec1a 100644 --- a/hosts/desktop.nix +++ b/hosts/desktop.nix @@ -21,6 +21,12 @@ with lib.my; console.keyMap = "uk"; services.printing.enable = true; + services.tailscale.enable = true; + networking.firewall = { + checkReversePath = "loose"; + trustedInterfaces = [ "tailscale0" ]; + allowedUDPPorts = [ config.services.tailscale.port ]; + }; sound.enable = true; hardware.pulseaudio.enable = false;