yep, more dotfiles

server: define admin token with argon inline

wiro.world 9c5f9665 f8b5790f

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

This is a binary file and will not be displayed.