VEGAS: add Vault
This commit is contained in:
parent
08ea787b0b
commit
f18cf36176
2 changed files with 13 additions and 0 deletions
12
hosts/VEGAS/services/vault/default.nix
Normal file
12
hosts/VEGAS/services/vault/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ config, pkgs, tools, ... }:
|
||||
|
||||
{
|
||||
services.vault = {
|
||||
enable = true;
|
||||
storageBackend = "file";
|
||||
storagePath = "/srv/storage/private/vault";
|
||||
extraConfig = "ui = true";
|
||||
package = pkgs.vault-bin;
|
||||
};
|
||||
services.nginx.virtualHosts."vault.${tools.meta.domain}" = tools.nginx.vhosts.proxy "http://${config.services.vault.address}";
|
||||
}
|
|
@ -37,6 +37,7 @@
|
|||
./services/object-storage
|
||||
./services/openvpn
|
||||
./services/sso
|
||||
./services/vault
|
||||
./services/warehouse
|
||||
./services/websites
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue