[nix] mv buildVM to host_builder

This commit is contained in:
2025-01-22 17:17:16 +01:00
parent fa5c68b2a3
commit baf77a1abd
2 changed files with 140 additions and 7 deletions

View File

@@ -15,7 +15,8 @@ in (utils.lib.eachSystem (builtins.filter filter_system utils.lib.defaultSystems
pkgs-unstable = nixpkgs-unstable.legacyPackages."${system}";
pkgs = nixpkgs.legacyPackages."${system}";
utils = import ./machines/modules/host_builder.nix ( inputs // { inherit inputs; self = self; });
hosts = import ./machines/hosts.nix ( inputs // { inherit inputs; self = self; });
utils = import ./machines/modules/host_builder.nix ( inputs // { inherit inputs; self = self; hosts = hosts; });
in
{
devShells.default =
@@ -156,8 +157,8 @@ in (utils.lib.eachSystem (builtins.filter filter_system utils.lib.defaultSystems
})) // (
let
utils = import ./machines/modules/host_builder.nix ( inputs // { inherit inputs; self = self; });
hosts = import ./machines/hosts.nix ( inputs // { inherit inputs; self = self; });
utils = import ./machines/modules/host_builder.nix ( inputs // { inherit inputs; self = self; hosts = hosts; });
in
{
nixosConfigurations = utils.buildHost hosts.malobeo.hosts;