summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/hardware/nvidia-gpu.nix1
-rw-r--r--modules/programs/steam.nix8
2 files changed, 8 insertions, 1 deletions
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;
+}