add auto unseal for vault-1

This commit is contained in:
Vivian 2023-04-28 15:55:06 +02:00
parent 9dc8bba4f0
commit c8d0760e0e
5 changed files with 135 additions and 20 deletions

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, hosts, ... }: {
_: {
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
@ -16,5 +16,8 @@
enable = true;
openFirewall = true;
node_id = "olympus-2";
autoUnseal = true;
autoUnsealTokenPath = "/var/lib/vault-unseal/keys.json";
};
}