diff --git a/nixos/modules/system/boot/systemd/tmpfiles.nix b/nixos/modules/system/boot/systemd/tmpfiles.nix index 10d58dc0c706..5e35e63e96c1 100644 --- a/nixos/modules/system/boot/systemd/tmpfiles.nix +++ b/nixos/modules/system/boot/systemd/tmpfiles.nix @@ -322,7 +322,7 @@ in description = "Create Volatile Files and Directories in the Real Root"; after = [ "initrd-fs.target" ]; before = [ - "initrd-nixos-activation.service" + "initrd.target" "shutdown.target" "initrd-switch-root.target" ]; conflicts = [ "shutdown.target" "initrd-switch-root.target" ];