10 lines
327 B
Nix
10 lines
327 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
interactive.defaults = { cluster, config, ... }: {
|
|
config = lib.mkIf config.services.vault.enable {
|
|
environment.variables.VAULT_ADDR = cluster.config.hostLinks.${config.networking.hostName}.frangiclave-server.url;
|
|
environment.systemPackages = [ config.services.vault.package ];
|
|
};
|
|
};
|
|
}
|