services.tailscale: add openresolv to path

Without openresolv, magic dns is not very usable.
This commit is contained in:
Frederik Rietdijk 2021-04-07 18:40:04 +02:00
parent a73894acfb
commit b9ef51a84b
1 changed files with 1 additions and 0 deletions

View File

@ -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}";
}; };
}; };