diff options
author | Alan Pearce | 2019-10-05 18:02:48 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-05 18:02:48 +0200 |
commit | a64e999255638c9a0ae5b7c104d80ac3201b1bc5 (patch) | |
tree | 455d5209cf9e20eac87aeb3925f8d230aabbb19c | |
parent | 22f3225547ae0dce900a1cd39f5ccce29e9552ed (diff) | |
download | nixfiles-a64e999255638c9a0ae5b7c104d80ac3201b1bc5.tar.lz nixfiles-a64e999255638c9a0ae5b7c104d80ac3201b1bc5.tar.zst nixfiles-a64e999255638c9a0ae5b7c104d80ac3201b1bc5.zip |
Move gaming packages to user
-rw-r--r-- | system/modules/gaming.nix | 42 | ||||
-rw-r--r-- | user/modules/gaming.nix | 45 | ||||
-rw-r--r-- | user/prefect.nix | 1 |
3 files changed, 47 insertions, 41 deletions
diff --git a/system/modules/gaming.nix b/system/modules/gaming.nix index 44b937a8..0dbc5b12 100644 --- a/system/modules/gaming.nix +++ b/system/modules/gaming.nix @@ -1,46 +1,6 @@ { config, pkgs, ... }: -{ environment.systemPackages = with pkgs; [ - unstable.steam - ( - unstable.winePackages.unstable.override { - pngSupport = true; - jpegSupport = true; - tiffSupport = true; - gettextSupport = true; - fontconfigSupport = true; - alsaSupport = true; - gtkSupport = true; - openglSupport = true; - tlsSupport = true; - gstreamerSupport = true; - cupsSupport = true; - colorManagementSupport = true; - dbusSupport = true; - mpg123Support = true; - openalSupport = true; - openclSupport = true; - cairoSupport = true; - odbcSupport = true; - netapiSupport = true; - cursesSupport = true; - vaSupport = true; - pcapSupport = true; - v4lSupport = true; - saneSupport = true; - gsmSupport = true; - gphoto2Support = true; - ldapSupport = true; - pulseaudioSupport = true; - udevSupport = true; - xineramaSupport = true; - xmlSupport = true; - vulkanSupport = true; - sdlSupport = true; - } - ) - unstable.lutris - ]; +{ hardware.steam-hardware.enable = true; hardware.opengl.driSupport32Bit = true; hardware.pulseaudio.support32Bit = true; diff --git a/user/modules/gaming.nix b/user/modules/gaming.nix new file mode 100644 index 00000000..022846ca --- /dev/null +++ b/user/modules/gaming.nix @@ -0,0 +1,45 @@ +{ config, pkgs, ... }: + +{ + home.packages = with pkgs; [ + unstable.steam + ( + unstable.winePackages.unstable.override { + pngSupport = true; + jpegSupport = true; + tiffSupport = true; + gettextSupport = true; + fontconfigSupport = true; + alsaSupport = true; + gtkSupport = true; + openglSupport = true; + tlsSupport = true; + gstreamerSupport = true; + cupsSupport = true; + colorManagementSupport = true; + dbusSupport = true; + mpg123Support = true; + openalSupport = true; + openclSupport = true; + cairoSupport = true; + odbcSupport = true; + netapiSupport = true; + cursesSupport = true; + vaSupport = true; + pcapSupport = true; + v4lSupport = true; + saneSupport = true; + gsmSupport = true; + gphoto2Support = true; + ldapSupport = true; + pulseaudioSupport = true; + udevSupport = true; + xineramaSupport = true; + xmlSupport = true; + vulkanSupport = true; + sdlSupport = true; + } + ) + unstable.lutris + ]; +} diff --git a/user/prefect.nix b/user/prefect.nix index 0e0a3a1f..66fb499d 100644 --- a/user/prefect.nix +++ b/user/prefect.nix @@ -7,6 +7,7 @@ ./modules/emacs.nix ./modules/development/base.nix ./modules/development/lisp.nix + ./modules/gaming.nix ./modules/git.nix ./modules/gnupg.nix ./modules/i3.nix |