14 lines
332 B
Nix
14 lines
332 B
Nix
|
{ 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 = {};
|
||
|
};
|
||
|
}
|