From 9d220c4870b6af2d9643a1e4016b981a0b94097f Mon Sep 17 00:00:00 2001 From: Benson Chu Date: Sat, 13 Jan 2024 12:51:09 -0600 Subject: [PATCH] amdgpu --- hosts/NixDawn/configuration.nix | 1 + hosts/NixDawn/hardware-configuration.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/NixDawn/configuration.nix b/hosts/NixDawn/configuration.nix index 20caf30..6ebe6bf 100644 --- a/hosts/NixDawn/configuration.nix +++ b/hosts/NixDawn/configuration.nix @@ -74,6 +74,7 @@ in # Enable the X11 windowing system. enable = true; exportConfiguration = true; + videoDrivers = [ "amdgpu" ]; # Configure keymap in X11 layout = "us"; diff --git a/hosts/NixDawn/hardware-configuration.nix b/hosts/NixDawn/hardware-configuration.nix index 674e51f..10caf57 100644 --- a/hosts/NixDawn/hardware-configuration.nix +++ b/hosts/NixDawn/hardware-configuration.nix @@ -9,7 +9,7 @@ ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "uas" "usb_storage" "sd_mod" "sr_mod" ]; - boot.initrd.kernelModules = [ ]; + boot.initrd.kernelModules = [ "amdgpu" ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ];