13 lines
294 B
Nix
13 lines
294 B
Nix
{ lib, userFlakeSelf, ... }:
|
|
|
|
with lib;
|
|
let
|
|
mkHomes = host: config:
|
|
mapAttrs' (user: v: nameValuePair "${user}@${host}" v.home)
|
|
config.config.system.build.homes;
|
|
|
|
hmConfigs = mapAttrs mkHomes userFlakeSelf.nixosConfigurations;
|
|
|
|
in
|
|
foldl recursiveUpdate { } (attrValues hmConfigs)
|