{ config, lib, pkgs, ... }: with lib; with lib.my; let cfg = config.modules.desktop.gaming.lutris; in { options.modules.desktop.gaming.lutris = { enable = mkBoolOpt false; }; config = mkIf cfg.enable { user.packages = with pkgs; [ lutris vulkan-loader vulkan-tools ]; hardware.opengl = { enable = true; driSupport = true; driSupport32Bit = true; }; }; }