From cfbcad4fedd185f10af99ae9703e16993aedc946 Mon Sep 17 00:00:00 2001 From: willifan Date: Mon, 20 May 2024 19:42:52 +0200 Subject: [PATCH] fixed amd gpu at boot --- hosts/Puenktchen/amd.nix | 4 ++++ hosts/Puenktchen/default.nix | 1 + 2 files changed, 5 insertions(+) create mode 100644 hosts/Puenktchen/amd.nix diff --git a/hosts/Puenktchen/amd.nix b/hosts/Puenktchen/amd.nix new file mode 100644 index 0000000..508a2d5 --- /dev/null +++ b/hosts/Puenktchen/amd.nix @@ -0,0 +1,4 @@ +{ pkgs, ... }: +{ + boot.initrd.kernelModules = [ "amdgpu" ]; +} \ No newline at end of file diff --git a/hosts/Puenktchen/default.nix b/hosts/Puenktchen/default.nix index 36963cd..8a8195f 100644 --- a/hosts/Puenktchen/default.nix +++ b/hosts/Puenktchen/default.nix @@ -1,6 +1,7 @@ { pkgs, ... }: { imports = [ + ./amd.nix ./hardware-configuration.nix ./disko.nix ];