From 18c8166b4feaae28e604cd2958e3696c49b77b69 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 12 Dec 2017 15:45:27 +0100 Subject: Add Steam module Move OpenGL 32-bit support here as it's not specific to Intel GPUs --- modules/hardware/nvidia-gpu.nix | 1 - modules/programs/steam.nix | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 modules/programs/steam.nix (limited to 'modules') diff --git a/modules/hardware/nvidia-gpu.nix b/modules/hardware/nvidia-gpu.nix index 2c49e964..9fc34169 100644 --- a/modules/hardware/nvidia-gpu.nix +++ b/modules/hardware/nvidia-gpu.nix @@ -1,6 +1,5 @@ { config, pkgs, ... }: { services.xserver.videoDrivers = [ "nvidia" ]; - hardware.opengl.driSupport32Bit = true; nixpkgs.config.allowUnfree = true; } diff --git a/modules/programs/steam.nix b/modules/programs/steam.nix new file mode 100644 index 00000000..d4bad7a0 --- /dev/null +++ b/modules/programs/steam.nix @@ -0,0 +1,8 @@ +{ config, pkgs, ... }: + +{ environment.systemPackages = with pkgs; [ + steam + ]; + hardware.opengl.driSupport32Bit = true; + hardware.pulseaudio.support32Bit = true; +} -- cgit 1.4.1