about summary refs log tree commit diff stats
path: root/system/nixpkgs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system/nixpkgs/default.nix')
-rw-r--r--system/nixpkgs/default.nix15
1 files changed, 13 insertions, 2 deletions
diff --git a/system/nixpkgs/default.nix b/system/nixpkgs/default.nix
index f226faa2..40a67d50 100644
--- a/system/nixpkgs/default.nix
+++ b/system/nixpkgs/default.nix
@@ -1,6 +1,17 @@
 # vim: ts=2
-{lib, ...}: {
-  nixpkgs.config = {
+{
+  lib,
+  system,
+  ...
+}: {
+  inherit system;
+  config = {
     #contentAddressedByDefault = true;
+
+    allowUnfreePredicate = pkg:
+      builtins.elem (lib.getName pkg) [
+        "steam"
+        "steam-original"
+      ];
   };
 }