fix: renamed and deprecated graphics options

This commit is contained in:
Noah Masur 2024-06-23 08:54:51 -04:00
parent 2f39eb2ceb
commit 0b9886f93e
No known key found for this signature in database

View File

@ -19,10 +19,9 @@
options.gaming.enable = lib.mkEnableOption "Enable gaming features."; options.gaming.enable = lib.mkEnableOption "Enable gaming features.";
config = lib.mkIf (config.gaming.enable && pkgs.stdenv.isLinux) { config = lib.mkIf (config.gaming.enable && pkgs.stdenv.isLinux) {
hardware.opengl = { hardware.graphics = {
enable = true; enable = true;
driSupport = true; enable32Bit = true;
driSupport32Bit = true;
}; };
programs.gamemode.enable = true; programs.gamemode.enable = true;
}; };