nixfiles/overlays/default.nix
2022-07-25 17:43:04 -07:00

28 lines
678 B
Nix

{ inputs, system ? builtins.currentSystem, ... }@args:
let
pkgs = import inputs.nixpkgs {
inherit system;
overlays = [
(import ./nur { inherit inputs; })
(import ./dns { inherit inputs; })
(import ./local)
(import ./lib)
(final: prev: {
jemalloc = if final.hostPlatform != "aarch64-darwin" then prev.jemalloc else null;
})
] ++ (map (path: import "${path}/overlay.nix") [
inputs.arcexprs
]);
config = {
allowUnfree = true;
allowBroken = true;
allowUnsupportedSystem = false;
permittedInsecurePackages = [
"ffmpeg-3.4.8"
"ffmpeg-2.8.17"
];
};
};
in
pkgs