fix key stuff

This commit is contained in:
2026-03-01 01:34:11 +04:00
parent c2505b344d
commit 89f7101265

View File

@@ -116,13 +116,15 @@ in
{ } { }
) )
] ]
++ (lib.map (v: { ++ lib.optionals hasHost (
"${name}-${v}" = { lib.map (v: {
inherit (value) format neededForUsers; "${name}-${v}" = {
sopsFile = inputs.self + "/${cfg.secretsDir}/${name}"; inherit (value) format neededForUsers;
key = v; sopsFile = inputs.self + "/${cfg.secretsDir}/${name}";
}; key = v;
}) value.keys) };
}) value.keys
)
) )
) )
) secret_map ) secret_map