restructured modules, toggling them, overlays

This commit is contained in:
2024-04-19 14:55:22 -06:00
parent 14676a34dc
commit 71c838a95a
24 changed files with 1173 additions and 76 deletions

38
modules/apps/gaming.nix Normal file
View File

@@ -0,0 +1,38 @@
{ config, pkgs, lib, ... }:
{
options = { myGaming.enable = lib.mkEnableOption "enable"; };
config = lib.mkIf config.myGaming.enable {
programs = {
steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
};
users.users.jawz.packages = with pkgs; ([
(lutris.override {
extraPkgs = pkgs: [
winetricks
wine64Packages.stable
wineWowPackages.stable
];
})
cartridges # games launcher
heroic # install epic games
gamemode # optimizes linux to have better gaming performance
# grapejuice # roblox manager
# minecraft # minecraft official launcher
protonup-qt # update proton-ge
# ns-usbloader # load games into my switch
# emulators
rpcs3 # ps3 emulator
pcsx2 # ps2 emulator
cemu # wii u emulator
dolphin-emu # wii emulator
citra-nightly # 3Ds emulator
snes9x-gtk # snes emulator
]);
};
}