about summary refs log tree commit diff stats
path: root/system/nixpkgs/default.nix
blob: 4f869e4a4e258a6eed17bfe81b71b19f7d5ae1c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"
      ];
  };
}