tailscale/nginx: fix
This commit is contained in:
parent
258c7939c0
commit
aaf9651ef2
4 changed files with 8 additions and 6 deletions
|
@ -2,6 +2,11 @@
|
|||
|
||||
{
|
||||
services.nginx = {
|
||||
package = lib.mkForce (pkgs.nginxQuic.override {
|
||||
withKTLS = true;
|
||||
withImageFilter = true;
|
||||
});
|
||||
|
||||
additionalModules = with pkgs.nginxModules; [
|
||||
vod
|
||||
];
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
services.tailscale.extraUpFlags = [
|
||||
"--accept-dns"
|
||||
"false"
|
||||
"--accept-dns=false"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
useRoutingFeatures = "server";
|
||||
|
||||
extraUpFlags = [
|
||||
"--advertise-routes"
|
||||
"10.0.0.0/24"
|
||||
"--advertise-routes=10.0.0.0/24"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,8 +11,7 @@ in
|
|||
authKeyFile = config.age.secrets.tailscale-authkey.path;
|
||||
|
||||
extraUpFlags = [
|
||||
"--login-server"
|
||||
headscale
|
||||
"--login-server=${headscale}"
|
||||
"--stateful-filtering"
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue