add vault cli to vault-ca container

This commit is contained in:
chaos 2024-05-24 20:26:51 +01:00
parent 3da50e27a9
commit 726c1bb0e1
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -16,7 +16,7 @@ in {
privateNetwork = true; privateNetwork = true;
hostAddress = hostIP; hostAddress = hostIP;
localAddress = containerIP; localAddress = containerIP;
additionalCapabilities = [ "CAP_IPC_LOCK" ]; additionalCapabilities = ["CAP_IPC_LOCK"];
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;

View file

@ -1,4 +1,5 @@
{pkgs, ...}: { {pkgs, ...}: {
environment.systemPackages = with pkgs; [vault-bin];
services.vault = { services.vault = {
enable = true; enable = true;
package = pkgs.vault-bin; package = pkgs.vault-bin;