dotfiles/system/nixos/tailscale.nix

14 lines
248 B
Nix

{ pkgs, config, ... }:
{
environment.systemPackages = [ pkgs.tailscale ];
services.tailscale = {
enable = true;
authKeyFile = config.age.secrets.tailscale-authkey.path;
extraUpFlags = [
"--stateful-filtering"
];
};
}