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 ) hosts
) lib.hosts; ) lib.hosts;
homeConfigurations = builtins.mapAttrs ( homeConfigurations = flattenAttrset (
system: hosts:
builtins.mapAttrs ( builtins.mapAttrs (
name: module: system: hosts:
lib.buildHome { builtins.mapAttrs (
inherit system module; name: module:
specialArgs = { inherit hostnames; }; lib.buildHome {
} inherit system module;
) hosts specialArgs = { inherit hostnames; };
) homeModules; }
) hosts
) homeModules
);
# Disk formatting, only used once # Disk formatting, only used once
diskoConfigurations = { diskoConfigurations = {