Zh
This commit is contained in:
parent
9a06683ed6
commit
f0e35a78e9
1 changed files with 1 additions and 16 deletions
|
|
@ -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)
|
||||
));
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue