summaryrefslogtreecommitdiff
path: root/nixos/parts/tailscale.nix
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2024-12-01 15:59:22 +0100
committerMartin Fischer <martin@push-f.com>2024-12-11 08:37:52 +0100
commitf5af22a8d108c9008b1a2b6c99e65ff910518288 (patch)
tree913e2a4bef85915c74270c5feb2ddcc7eaf8a05b /nixos/parts/tailscale.nix
parente92436da03d835766e50b8b64a166d6948ab1584 (diff)
add tailscale
Diffstat (limited to 'nixos/parts/tailscale.nix')
-rw-r--r--nixos/parts/tailscale.nix12
1 files changed, 12 insertions, 0 deletions
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";
+ };
+}