infrastructure/overlays/default.nix
2024-01-27 20:50:01 -08:00

30 lines
723 B
Nix

{inputs, ...} @ args:
inputs.flake-utils.lib.eachDefaultSystem (system: {
pkgs = import inputs.nixpkgs {
inherit system;
overlays =
[
(import ./nur {inherit inputs;})
(import ./local)
(import ./lib)
inputs.deploy-rs.overlay
inputs.arcexprs.overlays.default
(final: prev: {
jemalloc =
if final.hostPlatform != "aarch64-darwin"
then prev.jemalloc
else null;
})
];
config = {
allowUnfree = true;
allowBroken = true;
allowUnsupportedSystem = false;
permittedInsecurePackages = [
"ffmpeg-3.4.8"
"ffmpeg-2.8.17"
"openssl-1.1.1w"
];
};
};
})