1
0
Fork 0
dotfiles/system/nixos/tailscale.nix

19 lines
348 B
Nix

{ pkgs, config, ... }:
let
headscale = "https://ctrl.headscale.kempkens.network";
in
{
environment.systemPackages = [ pkgs.tailscale ];
services.tailscale = {
enable = true;
authKeyFile = config.age.secrets.tailscale-authkey.path;
extraUpFlags = [
"--login-server=${headscale}"
"--stateful-filtering"
];
};
}