services.tailscale: add openresolv to path
Without openresolv, magic dns is not very usable.
This commit is contained in:
parent
a73894acfb
commit
b9ef51a84b
|
@ -28,6 +28,7 @@ in {
|
||||||
systemd.packages = [ cfg.package ];
|
systemd.packages = [ cfg.package ];
|
||||||
systemd.services.tailscaled = {
|
systemd.services.tailscaled = {
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
path = [ pkgs.openresolv ];
|
||||||
serviceConfig.Environment = "PORT=${toString cfg.port}";
|
serviceConfig.Environment = "PORT=${toString cfg.port}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue