configure vault

This commit is contained in:
Vivian 2021-10-17 16:00:17 +02:00
parent 18ffeba78e
commit d010280647

View file

@ -25,4 +25,19 @@
# Additional packages # Additional packages
environment.systemPackages = with pkgs; []; environment.systemPackages = with pkgs; [];
# Vault
networking.firewall.allowedTCPPorts = [ 8200 ];
services.vault = {
enable = true;
# bin version includes the UI
package = pkgs.vault-bin;
address = "0.0.0.0:8200";
storageBackend = "file";
storagePath = "/var/lib/vault";
extraConfig = ''
ui = true
'';
};
} }