forked from pub-solar/os
8ba7bffc3f
home-manager --flake needs the activationPackage in the root of the homeConfiguration
13 lines
276 B
Nix
13 lines
276 B
Nix
{ lib, self, ... }:
|
|
|
|
with lib;
|
|
let
|
|
mkHomes = host: config:
|
|
mapAttrs' (user: v: nameValuePair "${user}@${host}" v.home)
|
|
config.config.system.build.homes;
|
|
|
|
hmConfigs = mapAttrs mkHomes self.nixosConfigurations;
|
|
|
|
in
|
|
foldl recursiveUpdate { } (attrValues hmConfigs)
|