mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-25 06:34:52 +00:00
fix: renamed and deprecated graphics options
This commit is contained in:
parent
2f39eb2ceb
commit
0b9886f93e
@ -19,10 +19,9 @@
|
||||
options.gaming.enable = lib.mkEnableOption "Enable gaming features.";
|
||||
|
||||
config = lib.mkIf (config.gaming.enable && pkgs.stdenv.isLinux) {
|
||||
hardware.opengl = {
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
programs.gamemode.enable = true;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user