refactor(flake): discovered function lib.mergeAttrsList, now used in forEachHost

This commit is contained in:
xezo360hye 2024-08-17 19:13:24 +03:00
parent 09829c1786
commit 3fa174d961

View File

@ -95,7 +95,7 @@
};
};
forEachHost = fn: lib.fold lib.mergeAttrs {} (map fn hostnames);
forEachHost = fn: lib.mergeAttrsList (map fn hostnames);
in {
nixosConfigurations = forEachHost makeSystem;
homeConfigurations = forEachHost makeHome;