toilet
This commit is contained in:
parent
5051b82f2b
commit
543ab58437
|
@ -9,7 +9,10 @@ in {
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
[ config.services.headscale.package pkgs.tailscale ];
|
[ config.services.headscale.package pkgs.tailscale ];
|
||||||
|
|
||||||
services.tailscale.enable = true;
|
services.tailscale = {
|
||||||
|
enable = true;
|
||||||
|
useRoutingFeatures = "server";
|
||||||
|
};
|
||||||
|
|
||||||
services.headscale = {
|
services.headscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -99,11 +102,6 @@ in {
|
||||||
webroot = null;
|
webroot = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.kernel.sysctl = {
|
|
||||||
"net.ipv4.ip_forward" = 1;
|
|
||||||
"net.ipv6.conf.all.forwarding" = 1;
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd.services = { tailscaled.after = [ "headscale.service" ]; };
|
systemd.services = { tailscaled.after = [ "headscale.service" ]; };
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue