flake: nixos: convert to 'flake-parts'

This commit is contained in:
Bruno BELANYI 2023-03-08 17:53:21 +00:00
parent b2f3bc955c
commit 730e4abf17
2 changed files with 9 additions and 10 deletions

View file

@ -69,18 +69,15 @@ let
};
};
};
systemIndependant = {
nixosConfigurations = import ./nixos.nix inputs;
};
in
flake-parts.lib.mkFlake { inherit inputs; } {
systems = mySystems;
imports = [
./lib.nix
./nixos.nix
./overlays.nix
];
flake = (eachMySystem systemDependant) // systemIndependant;
flake = (eachMySystem systemDependant);
}