Merge pull request #234455 from NixOS/qemu/memory-size-32bits

nixos/qemu-vm: fix 32-bits assert for memorySize

authored by

K900 and committed by
GitHub
0109faee 3580ac6c

+1 -1
+1 -1
nixos/modules/virtualisation/qemu-vm.nix
··· 894 ''; 895 } 896 ])) ++ [ 897 - { assertion = pkgs.stdenv.hostPlatform.is32bit && cfg.memorySize < 2047; 898 message = '' 899 virtualisation.memorySize is above 2047, but qemu is only able to allocate 2047MB RAM on 32bit max. 900 '';
··· 894 ''; 895 } 896 ])) ++ [ 897 + { assertion = pkgs.stdenv.hostPlatform.is32bit -> cfg.memorySize < 2047; 898 message = '' 899 virtualisation.memorySize is above 2047, but qemu is only able to allocate 2047MB RAM on 32bit max. 900 '';