nixos/oink: wait for network.target

This commit is contained in:
Jeremy Baxter 2024-06-23 21:34:40 +12:00
parent d2d8e9a2ff
commit 923a86602e

View File

@ -77,6 +77,7 @@ in
config = mkIf cfg.enable {
systemd.services.oink = {
description = "Dynamic DNS client for Porkbun";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
script = "${cfg.package}/bin/oink -c ${oinkConfig}";
};