mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 15:14:13 +00:00
nixos/qemu: ensure correct ordering w.r.t. shutdown.target
This commit is contained in:
parent
07004b46ac
commit
0a226a0639
@ -1256,6 +1256,8 @@ in
|
|||||||
unitConfig.RequiresMountsFor = "/sysroot/nix/.ro-store";
|
unitConfig.RequiresMountsFor = "/sysroot/nix/.ro-store";
|
||||||
}];
|
}];
|
||||||
services.rw-store = {
|
services.rw-store = {
|
||||||
|
before = [ "shutdown.target" ];
|
||||||
|
conflicts = [ "shutdown.target" ];
|
||||||
unitConfig = {
|
unitConfig = {
|
||||||
DefaultDependencies = false;
|
DefaultDependencies = false;
|
||||||
RequiresMountsFor = "/sysroot/nix/.rw-store";
|
RequiresMountsFor = "/sysroot/nix/.rw-store";
|
||||||
|
Loading…
Reference in New Issue
Block a user