about summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-04-07 11:12:27 +0200
committerene <ene@sils.li>2023-04-07 13:16:45 +0200
commit4e67d74766bec20129d9f9ae8e9c0174fb272194 (patch)
tree708b5bca5d4cbdb6c8d5ddc27abaa7b1851e3663 /flake.nix
parentFix(hm/pkgs/scripts/update): Allow for rebases (diff)
downloadnixos-config-4e67d74766bec20129d9f9ae8e9c0174fb272194.tar.gz
nixos-config-4e67d74766bec20129d9f9ae8e9c0174fb272194.zip
Feat(hm/pkgs): Add lutris
Lutris requires Steam as a dependency, thus allowing steam is required.
There seems to be no other way to do this, I'm afraid.
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index cc8a7b73..959eb8ed 100644
--- a/flake.nix
+++ b/flake.nix
@@ -84,6 +84,12 @@
     sysLib = import ./lib {inherit pkgs shell-library;};
     system = "x86_64-linux";
     pkgs = import inputs.nixpkgs {
+      config.allowUnfreePredicate = pkg:
+        builtins.elem (inputs.nixpkgs.lib.getName pkg) [
+          "steam"
+          "steam-original"
+        ];
+
       inherit system;
     };
   in {