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