Hardware setup of lenovo laptop

This commit is contained in:
outfoxxed 2023-06-21 03:52:24 -07:00
parent 741eb1d5ce
commit 30184feda2
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
5 changed files with 49 additions and 4 deletions

View file

@ -0,0 +1,16 @@
{ pkgs, ... }: {
imports = [ ./hardware-configuration.nix ];
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [
rocm-opencl-icd
amdvlk
];
extraPackages32 = with pkgs; [
driversi686Linux.amdvlk
];
};
}