diff options
author | Artturi <Artturin@artturin.com> | 2021-11-20 01:14:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-20 01:14:44 +0200 |
commit | dd4ce550b3e0195e16b4b93e096e3d4b3a6af425 (patch) | |
tree | 25384d423b38f1c0f79b1f7cea072abc878b55ac /nixos/modules | |
parent | c03139da1d1cfddad0aa1b566cf5d5ddb8f03f5f (diff) | |
parent | a96a6e751593609014b854ad40e2836c03c8a887 (diff) | |
download | nixpkgs-dd4ce550b3e0195e16b4b93e096e3d4b3a6af425.tar nixpkgs-dd4ce550b3e0195e16b4b93e096e3d4b3a6af425.tar.gz nixpkgs-dd4ce550b3e0195e16b4b93e096e3d4b3a6af425.tar.bz2 nixpkgs-dd4ce550b3e0195e16b4b93e096e3d4b3a6af425.tar.lz nixpkgs-dd4ce550b3e0195e16b4b93e096e3d4b3a6af425.tar.xz nixpkgs-dd4ce550b3e0195e16b4b93e096e3d4b3a6af425.tar.zst nixpkgs-dd4ce550b3e0195e16b4b93e096e3d4b3a6af425.zip |
Merge pull request #146456 from Artturin/misc-updates1
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/virtualisation/qemu-vm.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix index 67fde55faab..0c2782d3e02 100644 --- a/nixos/modules/virtualisation/qemu-vm.nix +++ b/nixos/modules/virtualisation/qemu-vm.nix @@ -845,7 +845,7 @@ in ''-append "$(cat ${config.system.build.toplevel}/kernel-params) init=${config.system.build.toplevel}/init regInfo=${regInfo}/registration ${consoles} $QEMU_KERNEL_PARAMS"'' ]) (mkIf cfg.useEFIBoot [ - "-drive if=pflash,format=raw,unit=0,readonly,file=${efiFirmware}" + "-drive if=pflash,format=raw,unit=0,readonly=on,file=${efiFirmware}" "-drive if=pflash,format=raw,unit=1,file=$NIX_EFI_VARS" ]) (mkIf (cfg.bios != null) [ |