fix: homeConfigurations need to be flattened

This commit is contained in:
Noah Masur
2025-07-02 14:48:21 -06:00
parent 5ed6870bdd
commit a5b628dd30

View File

@ -183,16 +183,18 @@
) hosts
) lib.hosts;
homeConfigurations = builtins.mapAttrs (
system: hosts:
homeConfigurations = flattenAttrset (
builtins.mapAttrs (
name: module:
lib.buildHome {
inherit system module;
specialArgs = { inherit hostnames; };
}
) hosts
) homeModules;
system: hosts:
builtins.mapAttrs (
name: module:
lib.buildHome {
inherit system module;
specialArgs = { inherit hostnames; };
}
) hosts
) homeModules
);
# Disk formatting, only used once
diskoConfigurations = {