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

This commit is contained in:
Philip Taron 2023-11-30 15:44:36 -08:00
parent 07004b46ac
commit 0a226a0639
No known key found for this signature in database

View File

@ -1256,6 +1256,8 @@ in
unitConfig.RequiresMountsFor = "/sysroot/nix/.ro-store";
}];
services.rw-store = {
before = [ "shutdown.target" ];
conflicts = [ "shutdown.target" ];
unitConfig = {
DefaultDependencies = false;
RequiresMountsFor = "/sysroot/nix/.rw-store";