infrastructure/overlays/default.nix

32 lines
768 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
(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"
"openssl-1.1.1w"
];
};
};
})