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 (
lib.map (v: {
"${name}-${v}" = { "${name}-${v}" = {
inherit (value) format neededForUsers; inherit (value) format neededForUsers;
sopsFile = inputs.self + "/${cfg.secretsDir}/${name}"; sopsFile = inputs.self + "/${cfg.secretsDir}/${name}";
key = v; key = v;
}; };
}) value.keys) }) value.keys
)
) )
) )
) secret_map ) secret_map