2026-02-24 00:00:35 -08:00
|
|
|
nixpkgs: withSystem:
|
|
|
|
|
let
|
2025-02-03 13:00:31 -06:00
|
|
|
foelib = import ./default.nix nixpkgs withSystem;
|
2026-02-24 00:00:35 -08:00
|
|
|
in
|
|
|
|
|
{
|
|
|
|
|
mkSystem =
|
|
|
|
|
hostname: host-platform: modules:
|
|
|
|
|
withSystem host-platform (
|
|
|
|
|
{ pkgs, ... }:
|
2025-02-03 13:00:31 -06:00
|
|
|
nixpkgs.lib.nixosSystem {
|
2026-02-24 00:00:35 -08:00
|
|
|
modules = [
|
|
|
|
|
{
|
|
|
|
|
nix.registry = {
|
|
|
|
|
nixpkgs.flake = nixpkgs;
|
|
|
|
|
p.flake = nixpkgs;
|
|
|
|
|
};
|
|
|
|
|
nixpkgs.pkgs = pkgs;
|
2025-01-26 19:20:24 -06:00
|
|
|
|
2026-02-24 00:00:35 -08:00
|
|
|
networking.hostName = hostname;
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
++ modules;
|
2025-02-03 13:00:31 -06:00
|
|
|
specialArgs = {
|
|
|
|
|
inherit hostname foelib;
|
|
|
|
|
};
|
2026-02-24 00:00:35 -08:00
|
|
|
}
|
|
|
|
|
);
|
2025-01-26 19:20:24 -06:00
|
|
|
}
|