about summary refs log tree commit diff stats
path: root/system/services/steam
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/services/steam/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/services/steam/default.nix b/system/services/steam/default.nix
new file mode 100644
index 00000000..916b3b15
--- /dev/null
+++ b/system/services/steam/default.nix
@@ -0,0 +1,12 @@
+# vim: ts=2
+{lib, ...}: {
+  programs.steam = {
+    enable = true;
+  };
+  nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
+    "steam"
+    "steam-original"
+    "steam-runtime"
+    "steam-run"
+  ];
+}