Compare commits

..

2 commits

3 changed files with 2 additions and 8 deletions

View file

@ -95,8 +95,6 @@ in {
onBoot = "ignore"; # We are doing development, not a server
qemu = {
package = pkgs.qemu_full;
ovmf.enable = true;
ovmf.packages = [ pkgs.OVMFFull ];
swtpm.enable = true;
};
};

View file

@ -28,11 +28,7 @@ in {
hardware.amdgpu.opencl.enable = true;
hardware.amdgpu.amdvlk.enable = cfg.defaultVulkanImplementation == "amdvlk";
hardware.amdgpu.amdvlk.support32Bit.enable = mkDefault config.hardware.amdgpu.amdvlk.enable;
environment.variables = {
AMD_VULKAN_ICD = mkIf (cfg.defaultVulkanImplementation == "amdvlk") (strings.toUpper cfg.defaultVulkanImplementation);
ROC_ENABLE_PRE_VEGA = "1"; # Enable OpenCL with Polaris GPUs
};

View file

@ -8,8 +8,8 @@ in {
enable = mkEnableOption "AMD gpus";
useProprietary = mkEnableOption "Use proprietary AMDGPU Pro";
defaultVulkanImplementation = mkOption {
description = "Wether to use RADV or AMDVLK by default";
type = with types; enum [ "amdvlk" "radv" ];
description = "Legacy, can only be set to radv";
type = with types; enum [ "radv" ];
default = "radv";
};
kernelDriver = mkOption {