diff --git a/src/system/machines/workstation/hardware.nix b/src/system/machines/workstation/hardware.nix index 82a4be5..28ccf8a 100644 --- a/src/system/machines/workstation/hardware.nix +++ b/src/system/machines/workstation/hardware.nix @@ -9,7 +9,7 @@ kernelModules = [ "dm-snapshot" ]; }; extraModulePackages = [ ]; - kernelParams = [ "intel_iommu=off" ]; + kernelParams = [ "intel_iommu=on" ]; kernelModules = [ "kvm-intel" "virtio" "vfio-pci" "coretemp" "amdgpu" ]; }; @@ -65,15 +65,11 @@ }; hardware = { - cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; amdgpu = { initrd.enable = true; opencl.enable = true; }; }; - services.xserver.videoDrivers = [ "amdgpu" ]; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - powerManagement.cpuFreqGovernor = lib.mkDefault "performance"; } diff --git a/src/system/machines/workstation/system.nix b/src/system/machines/workstation/system.nix index 847545e..1ea38f3 100644 --- a/src/system/machines/workstation/system.nix +++ b/src/system/machines/workstation/system.nix @@ -42,10 +42,6 @@ with lib; configurationLimit = 5; memtest86.enable = true; }; - - efi = { - canTouchEfiVariables = true; - }; timeout = null; };