about summary refs log tree commit diff
path: root/machines/profpatsch
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2022-05-23 13:16:55 +0200
committerProfpatsch <mail@profpatsch.de>2022-06-26 16:00:52 +0200
commit8d742d3397c2540d4dbf3779590eb4f2e153cf63 (patch)
tree79d6253bed2cba69123bc26bda77a2e1d58a319b /machines/profpatsch
parentc8b327f09fb98edf6e462dfc9edca6ea8c0dec71 (diff)
machines/shiki: fix steam
Diffstat (limited to 'machines/profpatsch')
-rw-r--r--machines/profpatsch/shiki.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/machines/profpatsch/shiki.nix b/machines/profpatsch/shiki.nix
index 3fc30756..cd242e8a 100644
--- a/machines/profpatsch/shiki.nix
+++ b/machines/profpatsch/shiki.nix
@@ -86,9 +86,15 @@ in {
       jack.enable = true;
       pulse.enable = true;
     };
-    # steam
-    # needed by some games (TODO: general module for games)
-    # hardware.opengl.driSupport32Bit = true;
+
+    # needed by steam to run
+    programs.steam.enable = true;
+    hardware.opengl.driSupport32Bit = true;
+    nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
+      "steam"
+      "steam-original"
+      "steam-runtime"
+    ];
 
     hardware.bluetooth.enable = true;
     services.blueman.enable = true;
@@ -258,7 +264,6 @@ in {
         ranger               # CLI file browser
         remind               # calender & reminder program
         taskwarrior tasksh   # task manager
-        unfreeAndNonDistributablePkgs.steam # the one gaming platform
         youtube-dl           # download videos
         zathura              # pdf viewer
         ghc                  # powerful pocket calculator