about summary refs log tree commit diff stats
path: root/system/nixpkgs
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-04-10 13:01:08 +0200
committerSoispha <soispha@vhack.eu>2023-05-09 19:30:11 +0200
commit832b796d1e8730aa0ce16c23a4d6f0b6755a59df (patch)
tree0750ca228b003b1f39f46855c2d9d2b8d88d45d9 /system/nixpkgs
parentFix(system/services/nix): Use correct values (diff)
downloadnixos-config-832b796d1e8730aa0ce16c23a4d6f0b6755a59df.zip
Fix(system/nixpkgs): Configure at a system level
Diffstat (limited to 'system/nixpkgs')
-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"
+      ];
   };
 }