tailscale: fix tailscale operator flag

This commit is contained in:
ooks-io 2024-10-31 17:29:50 +11:00
parent 68a46a0160
commit f0289e8cec
2 changed files with 2 additions and 4 deletions

View file

@ -17,9 +17,7 @@ in {
age.secrets = {
tailscale-auth = mkIf tailscale.enable {
file = "${self}/secrets/tailscale-auth.age";
owner = "${admin.name}";
group = "users";
mode = "400";
mode = "444";
};
github_key = mkIf admin.homeManager {
file = "${self}/secrets/github_key.age";

View file

@ -24,7 +24,7 @@ in {
# flags to pass to the auto-connect service
extraUpFlags = concatLists [
["--ssh"]
(optionals (admin.name != null) ["--operator ${admin.name}"])
["--operator" "${admin.name}"]
(optionals host.exitNode ["--advertise-exit-node"])
];