Added amd drivers

This commit is contained in:
xeovalyte 2024-03-12 21:38:05 +01:00
parent 5730dba084
commit ee5bdbaff9
No known key found for this signature in database
2 changed files with 16 additions and 0 deletions

View File

@ -3,6 +3,7 @@
{
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
../../modules/system/desktop/amd.nix
../../modules/system/desktop/hyprland.nix
../../modules/system/programs/syncthing.nix
../../modules/system/programs/thunar.nix

View File

@ -0,0 +1,15 @@
{ pkgs, ... }:
{
boot.initrd.kernelModules = [ "amdgpu" ];
hardware.opengl.driSupport32Bit = true;
hardware.opengl.extraPackages = with pkgs; [
amdvlk
];
hardware.opengl.extraPackages32 = with pkgs; [
driversi686Linux.amdvlk
];
}