add some comments to the tailscale configuration and set the operator to ${user}
This commit is contained in:
parent
6451843001
commit
3856e961ff
1 changed files with 6 additions and 1 deletions
|
@ -1,15 +1,20 @@
|
|||
{ user, ...}:
|
||||
{
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
# When using this configuration, make sure to create a file at /run/secrets/tailscale
|
||||
# with the contents of your Tailscale auth key.
|
||||
# Make sure your permissions are set correctly, e.g. 0600.
|
||||
# The secret file will be automatically deleted on system reboot.
|
||||
# You do not need to recreate it again unless you remove the system from your Tailscale account.
|
||||
authKeyFile = "/run/secrets/tailscale";
|
||||
# change this to "server" if you are this device as an exit node
|
||||
useRoutingFeatures = "client";
|
||||
extraUpFlags = [
|
||||
"--ssh"
|
||||
"--accept-routes"
|
||||
"--accept-dns"
|
||||
"--operator=cswimr"
|
||||
"--operator=${user}"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue