2024-12-27 16:44:03 -06:00
|
|
|
{inputs, ...}: let
|
|
|
|
systems = ["mpl"];
|
|
|
|
|
|
|
|
inherit (inputs.nixpkgs) lib;
|
|
|
|
|
|
|
|
makeNixosConfigurations = systems:
|
|
|
|
lib.listToAttrs (lib.map
|
|
|
|
(name: let
|
|
|
|
system = import ./${name} {inherit inputs;};
|
|
|
|
in {
|
|
|
|
inherit name;
|
|
|
|
value = lib.nixosSystem {
|
|
|
|
inherit (system) system;
|
|
|
|
|
|
|
|
modules =
|
|
|
|
system.modules
|
|
|
|
++ [
|
|
|
|
{
|
|
|
|
_module.args = {
|
|
|
|
inherit inputs;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2024-12-27 16:56:59 -06:00
|
|
|
../modules
|
2024-12-27 16:44:03 -06:00
|
|
|
];
|
|
|
|
};
|
|
|
|
})
|
|
|
|
systems);
|
|
|
|
in {
|
|
|
|
nixosConfigurations = makeNixosConfigurations systems;
|
|
|
|
}
|