From f5af22a8d108c9008b1a2b6c99e65ff910518288 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sun, 1 Dec 2024 15:59:22 +0100 Subject: add tailscale --- nixos/parts/tailscale.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 nixos/parts/tailscale.nix (limited to 'nixos/parts/tailscale.nix') diff --git a/nixos/parts/tailscale.nix b/nixos/parts/tailscale.nix new file mode 100644 index 0000000..bce1564 --- /dev/null +++ b/nixos/parts/tailscale.nix @@ -0,0 +1,12 @@ +{ config, pkgs, ... }: + +{ + services.tailscale = { + enable = true; + extraUpFlags = [ + "--login-server=https://headscale.push-f.com/" + ]; + # Only needed during activation. + # authKeyFile = "/tmp/key-file"; + }; +} -- cgit v1.2.3