diff options
Diffstat (limited to 'nixos/laptop/hardware-configuration.nix')
| -rw-r--r-- | nixos/laptop/hardware-configuration.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/nixos/laptop/hardware-configuration.nix b/nixos/laptop/hardware-configuration.nix index 3e2957e..f8d847d 100644 --- a/nixos/laptop/hardware-configuration.nix +++ b/nixos/laptop/hardware-configuration.nix @@ -11,6 +11,7 @@ boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" "sdhci_pci" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; + boot.kernelParams = [ "amdgpu.sg_display=0" ]; boot.extraModulePackages = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking @@ -24,15 +25,16 @@ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - hardware.amdgpu.amdvlk = { - enable = true; - support32Bit.enable = true; - }; + # hardware.amdgpu.amdvlk = { + # enable = true; + # support32Bit.enable = true; + # }; + hardware.graphics = { enable = true; enable32Bit = true; }; - services.xserver.videoDrivers = [ "amdgpu" ]; + services.xserver.videoDrivers = [ "modesetting" ]; hardware.bluetooth.enable = true; } |
