about summary refs log tree commit diff stats
path: root/sys/nixpkgs/default.nix
blob: 4f80e922b643232eb63d58b074c2a059c7b68a77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  lib,
  system,
  overlays ? [],
  sysLib,
}: let
  additionalPackages = (import ./pkgs) {inherit sysLib;};
  complete_overlays = overlays ++ additionalPackages;
in {
  # TODO: inheriting system here is discouraged, localSystem or hostSystem should be inspected
  inherit system;
  overlays = complete_overlays;
  config = {
    # FIXME: Remove this before actually deploying the system <2024-02-23>
    permittedInsecurePackages = [
      "freeimage-unstable-2021-11-01"
    ];

    # 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"
    #   ];
  };
}