Combine overlays
This commit is contained in:
parent
f6885a1432
commit
6268b49fbc
19
flake.nix
19
flake.nix
|
@ -230,6 +230,13 @@
|
||||||
lib.recursiveUpdate result (extractZwHosts zentralwerk.lib.config.site.net."${net}")
|
lib.recursiveUpdate result (extractZwHosts zentralwerk.lib.config.site.net."${net}")
|
||||||
) {} [ "core" "cluster" "c3d2" "serv" "flpk" "pub" ];
|
) {} [ "core" "cluster" "c3d2" "serv" "flpk" "pub" ];
|
||||||
|
|
||||||
|
overlayList = [
|
||||||
|
fenix.overlays.default
|
||||||
|
heliwatch.overlay
|
||||||
|
naersk.overlay
|
||||||
|
self.overlays
|
||||||
|
];
|
||||||
|
|
||||||
# Our custom NixOS builder
|
# Our custom NixOS builder
|
||||||
nixosSystem' =
|
nixosSystem' =
|
||||||
{ nixpkgs ? inputs.nixos
|
{ nixpkgs ? inputs.nixos
|
||||||
|
@ -247,9 +254,7 @@
|
||||||
libz = nixos-modules.lib { inherit lib config; };
|
libz = nixos-modules.lib { inherit lib config; };
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = overlayList;
|
||||||
self.overlays
|
|
||||||
];
|
|
||||||
})
|
})
|
||||||
|
|
||||||
self.nixosModules.c3d2
|
self.nixosModules.c3d2
|
||||||
|
@ -266,13 +271,7 @@
|
||||||
inherit (inputs) tracer bevy-mandelbrot bevy-julia;
|
inherit (inputs) tracer bevy-mandelbrot bevy-julia;
|
||||||
};
|
};
|
||||||
|
|
||||||
legacyPackages = lib.attrsets.mapAttrs (_: pkgs:
|
legacyPackages = lib.attrsets.mapAttrs (_: pkgs: pkgs.appendOverlays overlayList) nixos.legacyPackages;
|
||||||
pkgs.appendOverlays [
|
|
||||||
fenix.overlays.default
|
|
||||||
heliwatch.overlay
|
|
||||||
naersk.overlay
|
|
||||||
self.overlays
|
|
||||||
]) nixos.legacyPackages;
|
|
||||||
|
|
||||||
lib = { inherit hostRegistry; };
|
lib = { inherit hostRegistry; };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue