mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-27 08:54:05 -05:00
Prepare for vault
This commit is contained in:
parent
7058185beb
commit
10a35d3837
2 changed files with 2 additions and 2 deletions
|
|
@ -7,4 +7,5 @@
|
|||
networking.hostName = "WCE-Vault";
|
||||
gui.enable = false;
|
||||
programming.enable = false;
|
||||
users.vault.enable = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
{ inputs, pkgs, lib, config, ...}: {
|
||||
|
||||
options.vault.enable = lib.mkEnableOption "enables hashicorp vault services";
|
||||
|
||||
config = {
|
||||
services.vault = lib.mkIf config.vault.enable {
|
||||
services.vault = lib.mkIf config.users.vault.enable {
|
||||
enable = true;
|
||||
address = "localhost:8200";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue