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