nixos-configs/nixos-configurations.nix

19 lines
318 B
Nix
Raw Permalink Normal View History

2024-11-11 20:40:36 +00:00
inputs @ {
nixpkgs,
self,
...
2024-11-11 20:50:00 +00:00
}: {
nixosConfigurations = nixpkgs.lib.mapAttrs (name: {
2024-11-11 20:40:36 +00:00
system,
2024-11-17 22:03:19 +00:00
nixosModule,
2024-11-11 20:40:36 +00:00
}:
nixpkgs.lib.nixosSystem {
inherit system;
2024-11-17 22:03:19 +00:00
modules = [./nixos nixosModule];
2024-11-11 20:40:36 +00:00
specialArgs = {
inherit inputs system self;
};
2024-11-11 20:50:00 +00:00
}) (import ./machines);
}