mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-05 15:16:23 +01:00
27 lines
508 B
Nix
27 lines
508 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
cfg = config.jade.desktop.gaming;
|
|
in
|
|
with lib; {
|
|
options.jade.desktop.gaming = {
|
|
enable = mkEnableOption "Enable gaming stuff";
|
|
};
|
|
config = mkIf cfg.enable {
|
|
programs.steam.enable = true;
|
|
home-manager.users.jade = {pkgs, ...}: {
|
|
home.packages = with pkgs; [
|
|
lutris
|
|
prismlauncher
|
|
legendary-gl
|
|
wineWowPackages.stable
|
|
dxvk_2
|
|
vkd3d-proton
|
|
];
|
|
};
|
|
};
|
|
}
|