diff options
Diffstat (limited to 'nixos/laptop/hardware-configuration.nix')
| -rw-r--r-- | nixos/laptop/hardware-configuration.nix | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/nixos/laptop/hardware-configuration.nix b/nixos/laptop/hardware-configuration.nix index 8dc4a78..7348124 100644 --- a/nixos/laptop/hardware-configuration.nix +++ b/nixos/laptop/hardware-configuration.nix @@ -10,7 +10,7 @@ boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" "amdgpu" "hid_nintendo" ]; + boot.kernelModules = [ "kvm-amd" "hid_nintendo" ]; boot.extraModulePackages = [ ]; fileSystems."/" = @@ -38,18 +38,11 @@ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - hardware.opengl = { + hardware.amdgpu.amdvlk = { enable = true; - driSupport = true; - driSupport32Bit = true; - extraPackages = with pkgs; [ - amdvlk - rocmPackages.clr.icd - ]; + support32Bit.enable = true; }; - hardware.bluetooth = { - enable = true; - powerOnBoot = true; - }; + services.xserver.videoDrivers = [ "amdgpu" ]; + hardware.bluetooth.enable = true; } |
