[NixOS] Enable vaultwarden admin page

This commit is contained in:
2025-01-01 12:03:48 -07:00
parent eb61989a59
commit 4f4168768d
3 changed files with 7 additions and 0 deletions

View File

@@ -39,9 +39,15 @@ in
};
services.k3s.disableAgent = true;
age.secrets.vaultwarden-environment-file = {
file = ../secrets/vaultwarden-environment-file.age;
owner = "vaultwarden";
};
services.vaultwarden = {
enable = true;
backupDir = "/var/backup/vaultwarden";
environmentFile = config.age.secrets.vaultwarden-environment-file.path;
config = {
ROCKET_ADDRESS = "::1";
ROCKET_PORT = 8222;

View File

@@ -19,4 +19,5 @@ in
"k3s-registry.yaml.age".publicKeys = keys.agenixKeys ++ keys.railbird-sf;
"discourse-admin-password.age".publicKeys = keys.hostKeys;
"discourse-secret-key-base.age".publicKeys = keys.hostKeys;
"vaultwarden-environment-file.age".publicKeys = keys.hostKeys;
}

Binary file not shown.