profiles/gaming: init from legacy

This commit is contained in:
Felix Buehler 2023-03-19 14:47:31 +01:00
parent 55964e1622
commit 5a450bebcc
5 changed files with 33 additions and 23 deletions

View file

@ -5,6 +5,7 @@
./3d-design
./android
./clean
./gaming
./latex
./meeting
./nautilus

View file

@ -0,0 +1,31 @@
{ 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;
};
}