summaryrefslogtreecommitdiff
path: root/nixos/parts/tailscale.nix
blob: 1cb6dcfbcb9476d51505f7b2daf74dad2ddc1c93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
let
  domains = import ../domains.nix;
in
{ config, pkgs, ... }:

{
  services.tailscale = {
    enable = true;
    extraUpFlags = [
      "--login-server=https://${domains.tailscaleControlServer}/"
    ];
    # Only needed during activation.
    # authKeyFile = "/tmp/key-file";
  };
}