yep, more dotfiles

server: define admin token with argon inline

wiro.world 9c5f9665 f8b5790f

verified
Changed files
+2 -2
nixos
profiles
secrets
+1 -1
nixos/profiles/server.nix
···
ROCKET_PORT = vaultwarden-port;
DOMAIN = "https://${vaultwarden-hostname}";
SIGNUPS_ALLOWED = false;
-
# ADMIN_TOKEN = ...; # Via secret env
+
ADMIN_TOKEN = "$argon2id$v=19$m=65540,t=3,p=4$YIe9wmrTsmjgZNPxe8m34O/d3XW3Fl/uZPPLQs79dAc$mjDVQSdBJqz2uBJuxtAvCIoHPzOnTDhNPuhER3dhHrY";
SMTP_HOST = "smtp.resend.com";
SMTP_PORT = 2465;
+1 -1
secrets/secrets.nix
···
"authelia-ldap-password.age".publicKeys = deploy;
"authelia-smtp-password.age".publicKeys = deploy;
"tuwunel-registration-tokens.age".publicKeys = deploy;
-
# Defines `ADMIN_TOKEN`, `SMTP_PASSWORD`
+
# Defines `SMTP_PASSWORD`
"vaultwarden-env.age".publicKeys = deploy;
# Not used in config but useful
secrets/vaultwarden-env.age

This is a binary file and will not be displayed.