summary refs log tree commit diff
path: root/nixos/modules/virtualisation/qemu-vm.nix
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2020-07-03 01:43:31 +0200
committerNiklas Hambüchen <mail@nh2.me>2020-07-04 14:44:33 +0200
commit2fa351b6a51449942bcf1f95c575d2d5e50090c2 (patch)
tree7c120668da9c6f2fb19646b409b7ff63060dbf98 /nixos/modules/virtualisation/qemu-vm.nix
parente74755c422180bfa0ca2f74eb11f32e20d4030ee (diff)
downloadnixpkgs-2fa351b6a51449942bcf1f95c575d2d5e50090c2.tar
nixpkgs-2fa351b6a51449942bcf1f95c575d2d5e50090c2.tar.gz
nixpkgs-2fa351b6a51449942bcf1f95c575d2d5e50090c2.tar.bz2
nixpkgs-2fa351b6a51449942bcf1f95c575d2d5e50090c2.tar.lz
nixpkgs-2fa351b6a51449942bcf1f95c575d2d5e50090c2.tar.xz
nixpkgs-2fa351b6a51449942bcf1f95c575d2d5e50090c2.tar.zst
nixpkgs-2fa351b6a51449942bcf1f95c575d2d5e50090c2.zip
qemu-vm.nix: Do not mount `/boot` read-only.
There does not seem to be a good reason to do this, and it breaks running
`nixos-rebuild boot --install-bootloader` inside the VM.
Diffstat (limited to 'nixos/modules/virtualisation/qemu-vm.nix')
-rw-r--r--nixos/modules/virtualisation/qemu-vm.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix
index 5a502c36180..975b131d265 100644
--- a/nixos/modules/virtualisation/qemu-vm.nix
+++ b/nixos/modules/virtualisation/qemu-vm.nix
@@ -630,7 +630,6 @@ in
       { "/boot" =
           { device = "${lookupDriveDeviceName "boot" cfg.qemu.drives}2";
             fsType = "vfat";
-            options = [ "ro" ];
             noCheck = true; # fsck fails on a r/o filesystem
           };
       });