nixfiles/profiles/vault-secrets/vault.nix

14 lines
332 B
Nix
Raw Normal View History

2021-12-28 17:47:07 +00:00
{ config, ... }:
let
vs = config.vault-secrets.secrets;
in {
vault-secrets = {
# This applies to all secrets
vaultPrefix = "nixos/servers/${config.networking.hostName}";
vaultAddress = "https://vault.cryptidz.qcx.io";
# Define a secret called `something`, with default options.
secrets.example = {};
};
}