2021-04-19 05:45:08 +03:00
|
|
|
{ lib }:
|
|
|
|
|
|
|
|
{ userFlakeSelf }:
|
2021-03-23 17:37:11 +03:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
mkHomes = host: config:
|
2021-04-11 08:04:49 +03:00
|
|
|
mapAttrs' (user: v: nameValuePair "${user}@${host}" v.home)
|
2021-04-10 04:22:08 +03:00
|
|
|
config.config.system.build.homes;
|
2021-03-23 17:37:11 +03:00
|
|
|
|
2021-04-19 03:35:11 +03:00
|
|
|
hmConfigs = mapAttrs mkHomes userFlakeSelf.nixosConfigurations;
|
2021-03-23 17:37:11 +03:00
|
|
|
|
|
|
|
in
|
2021-04-10 04:22:08 +03:00
|
|
|
foldl recursiveUpdate { } (attrValues hmConfigs)
|