thinkpads: tailscale config

This commit is contained in:
Elnu 2024-09-22 21:06:02 -07:00
parent b8dee3c294
commit 3ae89fd0cf
2 changed files with 13 additions and 9 deletions

View file

@ -1,4 +1,4 @@
{ ... }:
{ config, ... }:
{
imports = [ (import ./hardware-configuration.nix) ];
@ -15,6 +15,16 @@
};
};
services.tailscale.enable = true;
networking.nameservers = [ "100.100.100.100" ];
networking.search = [ "junko-dace.ts.net" ];
networking.firewall = {
checkReversePath = "loose";
trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
# Use X11 caps lock to escape remap in TTY
console.useXkbConfig = true;
services.xserver.xkbOptions = "caps:escape";