mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
profiles/gaming: init from legacy
This commit is contained in:
parent
55964e1622
commit
5a450bebcc
5 changed files with 33 additions and 23 deletions
|
@ -1,22 +0,0 @@
|
||||||
{ config, lib, pkgs, ... }:
|
|
||||||
{
|
|
||||||
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;
|
|
||||||
}
|
|
|
@ -11,7 +11,6 @@
|
||||||
../../legacy/modules/desktop-development.nix
|
../../legacy/modules/desktop-development.nix
|
||||||
../../legacy/modules/development.nix
|
../../legacy/modules/development.nix
|
||||||
../../legacy/modules/filesystem.nix
|
../../legacy/modules/filesystem.nix
|
||||||
../../legacy/modules/gaming.nix
|
|
||||||
../../legacy/modules/hardware-base.nix
|
../../legacy/modules/hardware-base.nix
|
||||||
../../legacy/modules/media.nix
|
../../legacy/modules/media.nix
|
||||||
../../legacy/modules/systemd-user.nix
|
../../legacy/modules/systemd-user.nix
|
||||||
|
|
|
@ -8,6 +8,7 @@ in
|
||||||
"3d-design".enable = true;
|
"3d-design".enable = true;
|
||||||
android.enable = true;
|
android.enable = true;
|
||||||
clean.enable = true;
|
clean.enable = true;
|
||||||
|
gaming.enable = true;
|
||||||
latex.enable = true;
|
latex.enable = true;
|
||||||
meeting.enable = true;
|
meeting.enable = true;
|
||||||
nautilus.enable = true;
|
nautilus.enable = true;
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
./3d-design
|
./3d-design
|
||||||
./android
|
./android
|
||||||
./clean
|
./clean
|
||||||
|
./gaming
|
||||||
./latex
|
./latex
|
||||||
./meeting
|
./meeting
|
||||||
./nautilus
|
./nautilus
|
||||||
|
|
31
profiles/gaming/default.nix
Normal file
31
profiles/gaming/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue