mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
refactor(ci): overlays output
This commit is contained in:
parent
3c19a00aaa
commit
5658105812
6 changed files with 39 additions and 40 deletions
|
|
@ -1,32 +1,19 @@
|
|||
{
|
||||
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"
|
||||
];
|
||||
};
|
||||
};
|
||||
...
|
||||
}: let
|
||||
inherit (inputs.self.lib) nixlib;
|
||||
in rec {
|
||||
default = nixlib.composeManyExtensions [
|
||||
barcodebuddy
|
||||
krb5
|
||||
nginx
|
||||
samba
|
||||
];
|
||||
barcodebuddy = import ./barcodebuddy.nix;
|
||||
krb5 = import ./krb5.nix;
|
||||
nginx = import ./nginx.nix;
|
||||
samba = import ./samba.nix;
|
||||
deploy-rs = inputs.deploy-rs.overlays.default or inputs.deploy-rs.overlay;
|
||||
arc = inputs.arcexprs.overlays.default;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue