25 lines
421 B
Nix
25 lines
421 B
Nix
{ 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;
|
|
};
|
|
};
|
|
}
|