nixos/filesystems: ensure correct ordering w.r.t. shutdown.target

This commit is contained in:
Philip Taron 2023-11-30 15:34:11 -08:00
parent 1f73c2a7b6
commit 9c505de9f4
No known key found for this signature in database

View File

@ -406,7 +406,8 @@ in
ConditionVirtualization = "!container"; ConditionVirtualization = "!container";
DefaultDependencies = false; # needed to prevent a cycle DefaultDependencies = false; # needed to prevent a cycle
}; };
before = [ "systemd-pstore.service" ]; before = [ "systemd-pstore.service" "shutdown.target" ];
conflicts = [ "shutdown.target" ];
wantedBy = [ "systemd-pstore.service" ]; wantedBy = [ "systemd-pstore.service" ];
}; };
}; };