configure vault
This commit is contained in:
parent
7a93164381
commit
08d203af04
1 changed files with 15 additions and 0 deletions
|
@ -25,4 +25,19 @@
|
|||
|
||||
# Additional packages
|
||||
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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue