This commit is contained in:
Aleksandr Lebedev 2025-08-10 01:34:54 +02:00
parent 9a06683ed6
commit f0e35a78e9

View file

@ -205,22 +205,7 @@ in rec {
builtins.map (system: {
name = system;
value =
flake-outputs.packages.${system}
// {
homeConfigurations = let
homeNames = filterAttrs (_: home: home.system == system) homes;
homeConfigurations = mapAttrs (home-name: _: flake-outputs.homeConfigurations.${home-name}) homeNames;
renamedHomeConfigurations =
mapAttrs' (
name: value:
if hasSuffix "@${system}" name
then nameValuePair (removeSuffix "@${system}" name) value
else nameValuePair name value
)
homeConfigurations;
in
renamedHomeConfigurations;
};
flake-outputs.packages.${system};
}) (builtins.attrNames flake-outputs.pkgs)
));
};