Make sure OpenGL is enabled on devices that need it

This commit is contained in:
Charlotte Van Petegem 2021-06-27 12:19:13 +02:00
parent 9cc2fce05b
commit 1601a2a499
No known key found for this signature in database
GPG key ID: 019E764B7184435A
3 changed files with 3 additions and 0 deletions

View file

@ -62,6 +62,7 @@
hardware = { hardware = {
cpu.intel.updateMicrocode = true; cpu.intel.updateMicrocode = true;
enableRedistributableFirmware = true; enableRedistributableFirmware = true;
opengl.enable = true;
opengl.extraPackages = with pkgs; [ opengl.extraPackages = with pkgs; [
vaapiIntel vaapiIntel
vaapiVdpau vaapiVdpau

View file

@ -56,6 +56,7 @@
hardware = { hardware = {
cpu.intel.updateMicrocode = true; cpu.intel.updateMicrocode = true;
enableRedistributableFirmware = true; enableRedistributableFirmware = true;
opengl.enable = true;
opengl.extraPackages = with pkgs; [ opengl.extraPackages = with pkgs; [
vaapiIntel vaapiIntel
vaapiVdpau vaapiVdpau

View file

@ -19,6 +19,7 @@
{ path = ".config/0ad"; type = "cache"; } { path = ".config/0ad"; type = "cache"; }
]; ];
# Needs to be here, since the headless server probably doesn't have this enabled yet.
hardware.opengl.enable = true; hardware.opengl.enable = true;
home-manager.users.charlotte = { pkgs, ... }: { home-manager.users.charlotte = { pkgs, ... }: {
home.packages = [ pkgs.zeroad ]; home.packages = [ pkgs.zeroad ];