diff --git a/modules/nixos/hardware/media/video.nix b/modules/nixos/hardware/media/video.nix index 016fe270..e4868637 100644 --- a/modules/nixos/hardware/media/video.nix +++ b/modules/nixos/hardware/media/video.nix @@ -1,10 +1,18 @@ -{ self, pkgs, ... }: +{ + self, + pkgs, + config, + ... +}: let inherit (self.lib) isx86Linux; in { hardware.graphics = { enable = true; - enable32Bit = isx86Linux pkgs; + + # 32-bit GL is only ever used by 32-bit userspace (steam, wine), so a + # headless system has no use for it no matter which gpu it has + enable32Bit = config.garden.profiles.graphical.enable && isx86Linux pkgs; }; }