nixos/lxd-agent: ensure correct ordering w.r.t. shutdown.target

This commit is contained in:
Philip Taron 2023-11-30 15:42:49 -08:00
parent 54064109fb
commit 07004b46ac
No known key found for this signature in database

View File

@ -56,6 +56,8 @@ in {
systemd.services.lxd-agent = {
enable = true;
wantedBy = [ "multi-user.target" ];
before = [ "shutdown.target" ];
conflicts = [ "shutdown.target" ];
path = [ pkgs.kmod pkgs.util-linux ];
preStart = preStartScript;