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