2024-03-25 14:55:25 +00:00
|
|
|
{ config, lib, ... }:
|
|
|
|
{
|
2024-06-17 10:42:28 +00:00
|
|
|
config = lib.mkIf (config.clan.core.facts.secretStore == "vm") {
|
|
|
|
clan.core.facts.secretPathFunction = secret: "/etc/secrets/${secret.config.name}";
|
|
|
|
clan.core.facts.secretUploadDirectory = "/etc/secrets";
|
|
|
|
clan.core.facts.secretModule = "clan_cli.facts.secret_modules.vm";
|
2024-03-25 14:55:25 +00:00
|
|
|
};
|
|
|
|
}
|