Commit b6e354f0 authored by nikstur's avatar nikstur
Browse files

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

/etc/nixos is already created by stage-2-init.sh
parent cb5a876e
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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