about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-03 17:04:15 +0100
committerene <ene@sils.li>2023-02-03 17:44:40 +0100
commit34c7f8ad58d3eb5f9ad0a0c3079d3016aa8e835d (patch)
treefe61693d4f8a4c458123e6e538d3bd2ce0cb80c2
parentFix(packages): Archlinux names -> Nixos namesChanged the packages names from ... (diff)
downloadnixos-config-34c7f8ad58d3eb5f9ad0a0c3079d3016aa8e835d.tar.gz
nixos-config-34c7f8ad58d3eb5f9ad0a0c3079d3016aa8e835d.zip
Fix(packages): Added an "unfree" exception for steam
Diffstat (limited to '')
-rw-r--r--system/packages/packages.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/packages/packages.nix b/system/packages/packages.nix
index 7df0adc7..b0402580 100644
--- a/system/packages/packages.nix
+++ b/system/packages/packages.nix
@@ -260,6 +260,12 @@ with pkgs; let
       else builtins.attrValues x
     else [x];
 in {
+  nixpkgs.config.allowUnfreePredicate = pkg:
+    builtins.elem (lib.getName pkg) [
+      "steam"
+      "steam-original"
+    ];
+
   environment.systemPackages = with builtins;
     concatLists
     (concatLists [