fix(hosts): restore user home-manager wiring and refresh pi-harness deps hash

This commit is contained in:
2026-03-29 18:03:12 +00:00
parent 901059d0cd
commit 11c816b2c2
9 changed files with 136 additions and 127 deletions

View File

@@ -1,7 +1,9 @@
{
den,
lib,
}: {
}: let
merge = lib.recursiveUpdate;
in {
mkUserHost = {
system,
host,
@@ -10,8 +12,9 @@
includes ? [],
homeManager ? null,
}:
merge
(lib.setAttrByPath ["den" "hosts" system host "users" user "aspect"] userAspect)
// (lib.setAttrByPath ["den" "aspects" userAspect] ({inherit includes;}
(lib.setAttrByPath ["den" "aspects" userAspect] ({inherit includes;}
// lib.optionalAttrs (homeManager != null) {
inherit homeManager;
}));