dots/modules/hosts/nixos/hetznix01/tailscale.nix
Gene Liverman a8e3b109ed Prep for reinstall
Bits that require SOPS to be working have been pulled out into other
files. Once the install is complete, these will be included in the base
config.
2024-06-15 15:12:21 -04:00

14 lines
274 B
Nix

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