feat: vaultwarden setup

This commit is contained in:
s-prechtl 2026-03-23 16:16:42 +01:00
parent 13d7b1da68
commit ad346b3065
3 changed files with 21 additions and 0 deletions

View file

@ -4,10 +4,15 @@ let
domain = "vaultwarden.sprechtl.me";
in
{
age.secrets.vaultwarden-env = {
file = ../../secrets/authentik.age;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
services.vaultwarden = {
enable = true;
environmentFile = config.age.secrets.vaultwarden-env.path;
config = {
DOMAIN = "https://${domain}";
SIGNUPS_ALLOWED = false;