refactor(flake): use singular assembly file names

This commit is contained in:
2026-08-28 16:33:30 -04:00
parent 81732aef84
commit ab969fe5de
4 changed files with 8 additions and 7 deletions

View File

@@ -6,14 +6,15 @@
let
# TODO: refactor the registry code
registryAssembly = import ./registry.nix { inherit lib self; };
# TODO: remove this after the refactor of this file is done and clean
util = import ../lib { inherit lib; };
mkModules = import ./modules.nix { inherit util; };
mkModules = import ./module.nix { inherit util; };
modules = mkModules {
root = self + "/modules";
};
repositoryModules = modules;
#----------------------------------------------------------
guestFiles = util.collectNixFiles (self + "/guests");
collectedRegistry = registryAssembly.collect { hosts = self.nixosConfigurations; };
@@ -34,28 +35,28 @@ let
inherit util;
};
guests = import ./guests.nix {
guests = import ./guest.nix {
inherit
inputs
lib
self
specialArgs
repositoryModules
registryAssembly
util
;
repositoryModules = modules;
};
hosts = import ./hosts.nix {
hosts = import ./host.nix {
inherit
inputs
lib
self
specialArgs
repositoryModules
guestFiles
registryAssembly
;
repositoryModules = modules;
};
in
flake