thinkpads: tailscale config
This commit is contained in:
parent
b8dee3c294
commit
3ae89fd0cf
2 changed files with 13 additions and 9 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue