mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40:14 +01:00
25 lines
390 B
Nix
25 lines
390 B
Nix
|
{
|
||
|
lib,
|
||
|
config,
|
||
|
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
|
||
|
];
|
||
|
};
|
||
|
}
|