aboutsummaryrefslogtreecommitdiffstats
path: root/sys/nixpkgs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nixpkgs')
-rw-r--r--sys/nixpkgs/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys/nixpkgs/default.nix b/sys/nixpkgs/default.nix
new file mode 100644
index 00000000..c37d5582
--- /dev/null
+++ b/sys/nixpkgs/default.nix
@@ -0,0 +1,20 @@
+{
+ lib,
+ system,
+ overlays ? [],
+}: {
+ # TODO: inheriting system here is discouraged, localSystem or hostSystem should be inspected
+ inherit system overlays;
+ config = {
+ # TODO: this fails because of the root tempsize, which should be increased
+ #contentAddressedByDefault = true;
+
+ allowUnfreePredicate = pkg:
+ builtins.elem (lib.getName pkg) [
+ "steam"
+ "steam-original"
+ "steam-runtime"
+ "steam-run"
+ ];
+ };
+}