From 832b796d1e8730aa0ce16c23a4d6f0b6755a59df Mon Sep 17 00:00:00 2001 From: Soispha Date: Mon, 10 Apr 2023 13:01:08 +0200 Subject: Fix(system/nixpkgs): Configure at a system level --- system/nixpkgs/default.nix | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'system/nixpkgs/default.nix') 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" + ]; }; } -- cgit 1.4.1