infrastructure/overlays/default.nix
2024-04-07 15:29:05 -07:00

32 lines
713 B
Nix

{
inputs,
system,
}: {
pkgs = import inputs.nixpkgs {
inherit system;
overlays = [
inputs.deploy-rs.overlays.default or inputs.deploy-rs.overlay
inputs.arcexprs.overlays.default
(import ./barcodebuddy.nix)
(import ./samba.nix)
(import ./nginx.nix)
(import ./krb5.nix)
(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"
];
};
};
}