mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
linux-builder-vz: require store registration for boot
This guarantees that the builder will never boot without prepared nixdb.
This commit is contained in:
@@ -136,7 +136,7 @@ in
|
||||
systemd.services.register-nix-paths = lib.mkIf config.nix.enable {
|
||||
# Runs early so the store DB is populated first; `--load-db` needs no daemon.
|
||||
unitConfig.DefaultDependencies = false;
|
||||
wantedBy = [ "sysinit.target" ];
|
||||
requiredBy = [ "sysinit.target" ];
|
||||
before = [
|
||||
"sysinit.target"
|
||||
"shutdown.target"
|
||||
|
||||
Reference in New Issue
Block a user