dots/modules/hosts/nixos/hetznix01/tailscale.nix

14 lines
283 B
Nix

{ config, username, ... }: {
services.tailscale = {
enable = true;
authKeyFile = config.sops.secrets.tailscale_key.path;
extraUpFlags = [
"--advertise-exit-node"
"--operator"
"${username}"
"--ssh"
];
useRoutingFeatures = "both";
};
}