mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
28 lines
677 B
Nix
28 lines
677 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 = true;
|
|
permittedInsecurePackages = [
|
|
"ffmpeg-3.4.8"
|
|
"ffmpeg-2.8.17"
|
|
];
|
|
};
|
|
};
|
|
in
|
|
pkgs
|