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

This commit is contained in:
Philip Taron 2023-11-30 15:09:59 -08:00
parent 5ab8a128de
commit e4136ed6dd
No known key found for this signature in database

View File

@ -25,7 +25,7 @@ with lib;
systemd.services.growpart = {
wantedBy = [ "-.mount" ];
after = [ "-.mount" ];
before = [ "systemd-growfs-root.service" ];
before = [ "systemd-growfs-root.service" "shutdown.target" ];
conflicts = [ "shutdown.target" ];
unitConfig.DefaultDependencies = false;
serviceConfig = {