This commit is contained in:
Sakooooo 2025-01-01 13:54:53 +04:00
parent 5051b82f2b
commit 543ab58437
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -9,7 +9,10 @@ in {
environment.systemPackages =
[ config.services.headscale.package pkgs.tailscale ];
services.tailscale.enable = true;
services.tailscale = {
enable = true;
useRoutingFeatures = "server";
};
services.headscale = {
enable = true;
@ -99,11 +102,6 @@ in {
webroot = null;
};
boot.kernel.sysctl = {
"net.ipv4.ip_forward" = 1;
"net.ipv6.conf.all.forwarding" = 1;
};
systemd.services = { tailscaled.after = [ "headscale.service" ]; };
};