about summary refs log tree commit diff
path: root/machines/aszlig
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2022-08-03 19:40:13 +0200
committeraszlig <aszlig@nix.build>2022-08-03 19:40:13 +0200
commitde805f9e99dde45f46242c295035f102febbff6f (patch)
treea63083cfcfb6817a54168888e62024d4facfe4ed /machines/aszlig
parent48dfe5d842af894eec491b855b5db28f76e136d2 (diff)
slylandro: Initialise amdgpu module early in boot
The amdgpu module is initialised at roughly the same time as the X
server, which sometimes leads into race conditions where X won't start
because the kernel driver is not yet loaded.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'machines/aszlig')
-rw-r--r--machines/aszlig/slylandro.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/machines/aszlig/slylandro.nix b/machines/aszlig/slylandro.nix
index 4b0aa362..de678cb7 100644
--- a/machines/aszlig/slylandro.nix
+++ b/machines/aszlig/slylandro.nix
@@ -11,6 +11,7 @@
 
     initrd = {
       availableKernelModules = [ "xhci_pci" "ahci" "nvme" ];
+      kernelModules = [ "amdgpu" ];
       luks.devices = {
         slylandro-swap = {
           device = "/dev/disk/by-uuid/30904e53-cc8f-4039-9244-fc648dc6f801";