vps adjustments

This commit is contained in:
2025-09-07 22:38:03 -06:00
parent ee75fed429
commit f181bcb2e2
7 changed files with 39 additions and 14 deletions

View File

@@ -20,7 +20,8 @@ in
package = pkgs.vaultwarden;
environmentFile = config.sops.secrets.vaultwarden.path;
config = {
ROCKET_ADDRESS = "${config.my.localhost}";
# ROCKET_ADDRESS = "${config.my.localhost}"; # VPS
ROCKET_ADDRESS = cfg.ip;
ROCKET_PORT = cfg.port;
WEBSOCKET_PORT = 8333;
DATABASE_URL = "postgresql:///${cfg.name}?host=${config.my.postgresSocket}";