mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
32 lines
635 B
Nix
32 lines
635 B
Nix
![]() |
{ config, lib, pkgs, ... }:
|
||
|
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
|
||
|
openttd
|
||
|
prismlauncher # replace minecraft
|
||
|
superTuxKart
|
||
|
steam
|
||
|
SDL
|
||
|
SDL2
|
||
|
wine
|
||
|
winetricks
|
||
|
];
|
||
|
|
||
|
programs.steam.enable = true;
|
||
|
|
||
|
hardware.opengl.driSupport32Bit = true;
|
||
|
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ];
|
||
|
hardware.pulseaudio.support32Bit = true;
|
||
|
};
|
||
|
}
|