summary refs log tree commit diff stats
path: root/system/settings
diff options
context:
space:
mode:
authorAlan Pearce2023-03-10 17:51:01 +0100
committerAlan Pearce2023-03-10 17:51:01 +0100
commit1650144dc029e9fce77ef8b102595046a7272d6d (patch)
tree0912e20160c6dd7eb3518055913a7a197be34a91 /system/settings
parente1ad241e0374a0bc5d81f18de2eade804edad939 (diff)
downloadnixfiles-1650144dc029e9fce77ef8b102595046a7272d6d.tar.lz
nixfiles-1650144dc029e9fce77ef8b102595046a7272d6d.tar.zst
nixfiles-1650144dc029e9fce77ef8b102595046a7272d6d.zip
gaming: tweak Steam setup
Diffstat (limited to 'system/settings')
-rw-r--r--system/settings/gaming.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/settings/gaming.nix b/system/settings/gaming.nix
index 777bd598..b00aadb7 100644
--- a/system/settings/gaming.nix
+++ b/system/settings/gaming.nix
@@ -3,6 +3,7 @@
   pkgs,
   ...
 }: {
+  security.rtkit.enable = true;
   programs.steam.enable = true;
   programs.gamemode = {
     enable = true;
@@ -19,7 +20,10 @@
   };
   fonts.fontconfig.cache32Bit = true;
   hardware.steam-hardware.enable = true;
-  hardware.opengl.driSupport32Bit = true;
+  hardware.opengl = {
+    enable = true;
+    driSupport32Bit = true;
+  };
   hardware.pulseaudio.support32Bit = true;
   services.pipewire.alsa.support32Bit = true;
   services.pipewire.config.pipewire = {
@@ -126,7 +130,6 @@
 
   services.ananicy = {
     enable = true;
-    package = pkgs.ananicy-cpp;
   };
 
   networking.firewall = {