more graphics stuff

This commit is contained in:
Christoph Cullmann 2023-06-10 19:19:56 +02:00
parent 23544f7fec
commit 6ce1c0045f
2 changed files with 5 additions and 1 deletions

View file

@ -19,4 +19,8 @@
# main network interface
systemd.network.networks."10-wan".matchConfig.Name = "eno1";
# amd graphics
hardware.opengl.extraPackages = with pkgs; [ amdvlk rocm-opencl-icd rocm-opencl-runtime ];
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ amdvlk ];
}

View file

@ -21,6 +21,6 @@
systemd.network.networks."10-wan".matchConfig.Name = "enp9s0";
# intel graphics
hardware.opengl.extraPackages = with pkgs; [ intel-media-driver ];
hardware.opengl.extraPackages = with pkgs; [ intel-media-driver intel-compute-runtime ];
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ intel-media-driver ];
}