nichts/nyx/homes/notashelf/programs/graphical/gaming/default.nix
2024-04-09 23:11:33 +02:00

34 lines
654 B
Nix

{
osConfig,
pkgs,
lib,
...
}: let
inherit (lib.modules) mkIf;
inherit (osConfig) modules;
env = modules.usrEnv;
prg = env.programs;
in {
imports = [
./minecraft.nix
./mangohud.nix
./chess.nix
];
config = mkIf prg.gaming.enable {
home.packages = with pkgs; [
legendary-gl # epic games launcher
mangohud # fps counter & vulkan overlay
lutris # alternative game launcher
# emulators
# dolphin-emu # general console
# runtime
dotnet-runtime_6 # for running terraria manually, from binary
mono # general dotnet apps
winetricks # wine helper utility
];
};
}