1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

nixos/qemu-vm: remove creation of /etc/nixos

/etc/nixos is already created by stage-2-init.sh
This commit is contained in:
nikstur 2024-03-02 00:06:26 +01:00
parent cb5a876e82
commit b6e354f052

View file

@ -1046,14 +1046,6 @@ in
boot.loader.supportsInitrdSecrets = mkIf (!cfg.useBootLoader) (mkVMOverride false);
systemd.tmpfiles.settings."10-qemu-vm" = {
"/etc/NIXOS".f = {
mode = "0644";
user = "root";
group = "root";
};
};
# After booting, register the closure of the paths in
# `virtualisation.additionalPaths' in the Nix database in the VM. This
# allows Nix operations to work in the VM. The path to the