mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 10:30:14 +01:00
23 lines
373 B
Nix
23 lines
373 B
Nix
|
{
|
||
|
pkgs,
|
||
|
...
|
||
|
}: {
|
||
|
config = {
|
||
|
boot.kernelModules = ["amdgpu"];
|
||
|
services.xserver.videoDrivers = ["amdgpu"];
|
||
|
|
||
|
hardware.opengl = {
|
||
|
extraPackages = with pkgs; [
|
||
|
amdvlk
|
||
|
];
|
||
|
extraPackages32 = with pkgs; [
|
||
|
driversi686Linux.amdvlk
|
||
|
];
|
||
|
};
|
||
|
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
nvtopPackages.amd
|
||
|
];
|
||
|
};
|
||
|
}
|