mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
35 lines
735 B
Nix
35 lines
735 B
Nix
{
|
|
inputs,
|
|
system ? builtins.currentSystem,
|
|
...
|
|
} @ args: let
|
|
pkgs = import inputs.nixpkgs {
|
|
inherit system;
|
|
overlays =
|
|
[
|
|
(import ./nur {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"
|
|
"openssl-1.1.1w"
|
|
];
|
|
};
|
|
};
|
|
in
|
|
pkgs
|