2023-11-26 20:26:49 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
2023-02-13 11:54:21 +00:00
|
|
|
cfg = config.jade.desktop.gaming;
|
2023-11-26 20:26:49 +00:00
|
|
|
in
|
|
|
|
with lib; {
|
|
|
|
options.jade.desktop.gaming = {
|
|
|
|
enable = mkEnableOption "Enable gaming stuff";
|
2023-02-13 11:54:21 +00:00
|
|
|
};
|
2023-11-26 20:26:49 +00:00
|
|
|
config = mkIf cfg.enable {
|
|
|
|
programs.steam.enable = true;
|
|
|
|
home-manager.users.jade = {pkgs, ...}: {
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
lutris
|
|
|
|
prismlauncher
|
2024-03-14 15:03:43 +00:00
|
|
|
legendary-gl
|
|
|
|
wineWowPackages.stable
|
|
|
|
dxvk_2
|
|
|
|
vkd3d-proton
|
2023-11-26 20:26:49 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|