mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
14 lines
283 B
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";
|
|
};
|
|
}
|
|
|