Skip to content

Commit

Permalink
hardware.opengl -> hardware.graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
vlinkz committed Jul 3, 2024
1 parent 5a7241b commit 7ad1d29
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/nixos/snowflakeos/graphical.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ with lib;
services.fwupd.enable = mkDefault true;

# Add opengl/vulkan support
hardware.opengl = {
hardware.graphics = {
enable = mkDefault true;
driSupport = mkDefault config.hardware.opengl.enable;
driSupport32Bit = mkDefault (config.hardware.opengl.enable && pkgs.stdenv.hostPlatform.isx86);
enable32Bit = mkDefault (config.hardware.graphics.enable && pkgs.stdenv.hostPlatform.isx86);
};
};
}

0 comments on commit 7ad1d29

Please sign in to comment.