nixos-config/modules/programs/gaming/default.nix
Alexander "PapaTutuWawa 648da7e05a meta: Various gaming fixes
- Fix Vortex Mod Manager by giving it access to /mnt/Storage (Bad, but
  well)
- Add package: razer-cli
- Tell gamemode to put my GPU in performance mode
- Tell gamemode to enable or disable keyboard backlight
- Switch the miku kernel to Zen
2022-05-03 15:05:19 +02:00

33 lines
682 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.ptw.programs.gaming;
in {
options.ptw.programs.gaming = {
enable = lib.mkEnableOption "Configure gaming options";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
wineWowPackages.staging winetricks
protontricks
lutris-free-wrapped
(pkgs.callPackage ./wrapper.nix {
inherit (pkgs) retroarch;
cores = with pkgs.libretro; [
mgba mupen64plus melonds desmume dolphin
];
})
steam-wrapped # Custom package
nur.repos.dukzcry.gamescope
corectrl
];
hardware.steam-hardware.enable = true;
};
}