nixos/profiles/gaming/default.nix

40 lines
692 B
Nix
Raw Permalink Normal View History

2024-07-28 21:08:02 +02:00
{
config,
lib,
pkgs,
...
}:
2023-03-19 14:47:31 +01:00
let
cfg = config.my.profiles.gaming;
in
{
options.my.profiles.gaming = with lib; {
enable = mkEnableOption "gaming profile";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
blobby
discord
minetest
2024-11-03 19:31:10 +01:00
moonlight-qt # steam-link stream
2023-03-19 14:47:31 +01:00
openttd
prismlauncher # replace minecraft
superTuxKart
steam
SDL
SDL2
wine
winetricks
];
programs.steam.enable = true;
hardware = {
graphics.enable32Bit = true;
graphics.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ];
};
2025-05-23 23:00:53 +02:00
services.pulseaudio.support32Bit = true;
2023-03-19 14:47:31 +01:00
};
}