Added amd drivers
This commit is contained in:
parent
5730dba084
commit
ee5bdbaff9
@ -3,6 +3,7 @@
|
|||||||
{
|
{
|
||||||
imports = [ # Include the results of the hardware scan.
|
imports = [ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
../../modules/system/desktop/amd.nix
|
||||||
../../modules/system/desktop/hyprland.nix
|
../../modules/system/desktop/hyprland.nix
|
||||||
../../modules/system/programs/syncthing.nix
|
../../modules/system/programs/syncthing.nix
|
||||||
../../modules/system/programs/thunar.nix
|
../../modules/system/programs/thunar.nix
|
||||||
|
15
modules/system/desktop/amd.nix
Normal file
15
modules/system/desktop/amd.nix
Normal 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
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user