tailscale: fix tailscale operator flag
This commit is contained in:
parent
68a46a0160
commit
f0289e8cec
2 changed files with 2 additions and 4 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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"])
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue