WIP: openbao

This commit is contained in:
TheWanderingCrow 2026-02-10 11:43:50 -05:00
parent a591184639
commit 35cc552eb7
2 changed files with 24 additions and 19 deletions

View file

@ -0,0 +1,24 @@
{
pkgs,
lib,
config,
...
}:
let
openBaoConfig = pkgs.writeText "config.hcl" ''
ui = true
cluster_addr = "https://127.0.0.1:8201"
api_addr = "https://127.0.0.1:8200"
'';
in
{
virtualisation.quadlet = {
containers = {
openbao.containerConfig = {
image = "ghcr.io/openbao/openbao";
};
};
};
}

View file

@ -1,19 +0,0 @@
{ config, pkgs, ... }:
{
services.openbao = {
enable = true;
settings = {
ui = true;
listener.default = {
type = "tcp";
tls_disable = true;
};
cluster_addr = "http://127.0.0.1:8201";
api_addr = "http://127.0.0.1:8200";
storage.raft.path = "/var/lib/openbao";
};
};
}