summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornikstur <nikstur@outlook.com>2024-03-02 00:06:26 +0100
committernikstur <nikstur@outlook.com>2024-07-18 19:11:28 +0200
commitb6e354f052a79bec05432acec5f4810c1239b05f (patch)
tree201379a9174395d941fc461baff8ea53692958b8
parentnixos/qemu-vm: consistently use efiSysMountPoint (diff)
downloadnixpkgs-b6e354f052a79bec05432acec5f4810c1239b05f.tar.gz
nixos/qemu-vm: remove creation of /etc/nixos
/etc/nixos is already created by stage-2-init.sh
-rw-r--r--nixos/modules/virtualisation/qemu-vm.nix8
1 files changed, 0 insertions, 8 deletions
diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix
index 32a1d47b59fe..bdce2b62a15a 100644
--- a/nixos/modules/virtualisation/qemu-vm.nix
+++ b/nixos/modules/virtualisation/qemu-vm.nix
@@ -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