os/modules/wireguard/service-override.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
285 B
Nix
Raw Normal View History

lib: {
2024-08-18 22:22:59 +00:00
wantedBy = [
"network.target"
"network-online.target"
"nss-lookup.target"
];
2024-08-18 22:22:59 +00:00
serviceConfig = {
Type = lib.mkForce "simple";
Restart = "on-failure";
RestartSec = "15";
};
2024-08-18 22:22:59 +00:00
environment = {
WG_ENDPOINT_RESOLUTION_RETRIES = "infinity";
};
}