summaryrefslogtreecommitdiff
path: root/unmoved-modules/home-manager/gaming.nix
diff options
context:
space:
mode:
Diffstat (limited to 'unmoved-modules/home-manager/gaming.nix')
-rw-r--r--unmoved-modules/home-manager/gaming.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/unmoved-modules/home-manager/gaming.nix b/unmoved-modules/home-manager/gaming.nix
new file mode 100644
index 0000000..3222fc2
--- /dev/null
+++ b/unmoved-modules/home-manager/gaming.nix
@@ -0,0 +1,37 @@
+{ config, pkgs, lib, inputs, ... }:
+
+{
+ options = {
+ gaming.enable = lib.mkEnableOption "enables gaming module";
+ };
+
+ config = lib.mkIf config.gaming.enable {
+ home.packages = [
+ pkgs.prismlauncher
+ pkgs.cemu
+ pkgs.ryubing
+ ];
+
+ programs.lutris = {
+ enable = true;
+ runners = {
+ cemu.package = pkgs.cemu;
+ ryujinx.package = pkgs.ryubing;
+ };
+ steamPackage = pkgs.steam;
+ winePackages = with pkgs.wineWow64Packages; [
+ stable
+ ];
+ extraPackages = with pkgs; [
+ gamemode
+ umu-launcher
+ winetricks
+ mangohud
+ gamescope
+ ];
+ protonPackages = with pkgs; [
+ proton-ge-bin
+ ];
+ };
+ };
+}