nix-configs/modules/desktop/gaming.nix

27 lines
508 B
Nix
Raw Normal View History

{
config,
lib,
pkgs,
...
}: let
2023-02-13 11:54:21 +00:00
cfg = config.jade.desktop.gaming;
in
with lib; {
options.jade.desktop.gaming = {
enable = mkEnableOption "Enable gaming stuff";
2023-02-13 11:54:21 +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
];
};
};
}