configure vault
This commit is contained in:
parent
18ffeba78e
commit
d010280647
1 changed files with 15 additions and 0 deletions
|
@ -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
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue