nixos-conf/hardware-specific/amd-laptop.nix

15 lines
349 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
{
2024-11-21 14:25:33 +02:00
imports = [ ./laptop.nix ];
environment.systemPackages = with pkgs; [ zenmonitor ];
2024-12-01 18:42:45 +02:00
hardware.graphics.extraPackages = with pkgs; [ rocmPackages.clr.icd ];
boot.initrd.kernelModules = [ "amdgpu" ];
services = {
2024-11-21 14:25:33 +02:00
xserver = pkgs.lib.mkIf config.services.xserver.enable { videoDrivers = [ "amdgpu" ]; };
};
}