more vaultwarden setup

This commit is contained in:
Vivian 2022-10-10 16:22:25 +02:00
parent d63799ef9a
commit c44819e5a2
3 changed files with 4 additions and 4 deletions

View file

@ -18,7 +18,7 @@ in {
# Additional packages
environment.systemPackages = with pkgs; [ ];
networking.firewall.allowedTCPPorts = [ ];
networking.firewall.allowedTCPPorts = [ config.services.vaultwarden.config.ROCKET_PORT ];
vault-secrets.secrets.vaultwarden = {
user = "vaultwarden";
@ -32,7 +32,7 @@ in {
config = {
DOMAIN = "https://pass.0x76.dev";
SIGNUPS_ALLOWED = false;
ROCKET_ADDRESS = "127.0.0.1";
ROCKET_ADDRESS = "0.0.0.0";
ROCKET_PORT = 8222;
SMTP_HOST = "mail.0x76.dev";