mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
nixos/qemu-vm: remove creation of /etc/nixos
/etc/nixos is already created by stage-2-init.sh
This commit is contained in:
parent
cb5a876e82
commit
b6e354f052
1 changed files with 0 additions and 8 deletions
|
@ -1046,14 +1046,6 @@ in
|
||||||
|
|
||||||
boot.loader.supportsInitrdSecrets = mkIf (!cfg.useBootLoader) (mkVMOverride false);
|
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
|
# After booting, register the closure of the paths in
|
||||||
# `virtualisation.additionalPaths' in the Nix database in the VM. This
|
# `virtualisation.additionalPaths' in the Nix database in the VM. This
|
||||||
# allows Nix operations to work in the VM. The path to the
|
# allows Nix operations to work in the VM. The path to the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue