Split flake into multiple files

This commit is contained in:
Pim Kunis 2024-11-11 21:40:36 +01:00
parent 47c2a10ee7
commit d70a737bc2
9 changed files with 159 additions and 108 deletions

17
nixos-configurations.nix Normal file
View file

@ -0,0 +1,17 @@
inputs @ {
nixpkgs,
self,
...
}:
nixpkgs.lib.mapAttrs (name: {
system,
module,
}:
nixpkgs.lib.nixosSystem {
inherit system;
modules = [./nixos module];
specialArgs = {
inherit inputs system self;
};
}) (import ./machines)