export users home for home-manager --flake

home-manager --flake needs the activationPackage in the root of the
homeConfiguration
This commit is contained in:
Pacman99 2021-04-10 22:04:49 -07:00
parent d5175f6cca
commit 8ba7bffc3f

View File

@ -3,7 +3,7 @@
with lib; with lib;
let let
mkHomes = host: config: mkHomes = host: config:
mapAttrs' (user: v: nameValuePair "${user}@${host}" v) mapAttrs' (user: v: nameValuePair "${user}@${host}" v.home)
config.config.system.build.homes; config.config.system.build.homes;
hmConfigs = mapAttrs mkHomes self.nixosConfigurations; hmConfigs = mapAttrs mkHomes self.nixosConfigurations;