diff options
author | Franck Cuny <franck@fcuny.net> | 2022-03-05 13:20:28 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-03-05 13:20:28 -0800 |
commit | 9210b04b886157d5226ccc7bda1898624e2977a3 (patch) | |
tree | 8cad547b2059264029e986e63a2a7485abf8ebd2 | |
parent | git: sign with GPG only when one desktop (diff) | |
download | world-9210b04b886157d5226ccc7bda1898624e2977a3.tar.gz |
tailscale: add tailscale to the laptop (aptos)
Diffstat (limited to '')
-rw-r--r-- | hosts/aptos/default.nix | 1 | ||||
-rw-r--r-- | hosts/common/system/tailscale.nix | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/hosts/aptos/default.nix b/hosts/aptos/default.nix index e7264f5..24f823e 100644 --- a/hosts/aptos/default.nix +++ b/hosts/aptos/default.nix @@ -4,6 +4,7 @@ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix ../common/desktop + ../common/system/tailscale.nix ../common/hardware/xps9300.nix ]; diff --git a/hosts/common/system/tailscale.nix b/hosts/common/system/tailscale.nix new file mode 100644 index 0000000..88c123c --- /dev/null +++ b/hosts/common/system/tailscale.nix @@ -0,0 +1,6 @@ +{ config, pkgs, lib, ... }: + +{ + services.tailscale.enable = true; + networking.firewall.trustedInterfaces = [ "tailscale0" ]; +} |