mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-10 01:24:05 -05:00
openbao as module
This commit is contained in:
parent
9e13f06027
commit
cfd0dc1ae0
1 changed files with 19 additions and 0 deletions
19
modules/services/openbao/default.nix
Normal file
19
modules/services/openbao/default.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue