Infini-OPTIPLEX: transfer services to Infini-DL360

This commit is contained in:
Infinidoge 2024-05-05 19:20:56 -04:00
parent 253c57dd8f
commit a9ccc13825
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
9 changed files with 7 additions and 7 deletions

View file

@ -1,34 +0,0 @@
{ config, lib, pkgs, ... }:
{
persist.directories = [ config.services.vaultwarden.dataDir ];
services.nginx.virtualHosts."bitwarden.inx.moe" = config.common.nginx.ssl // {
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.vaultwarden.config.ROCKET_PORT}";
};
};
services.vaultwarden = {
enable = true;
environmentFile = config.secrets."vaultwarden";
dataDir = "/srv/vaultwarden";
config = {
DOMAIN = "https://bitwarden.inx.moe";
SIGNUPS_ALLOWED = false;
ROCKET_ADDRESS = "127.0.0.1";
ROCKET_PORT = 8222;
ROCKET_LOG = "critical";
PUSH_ENABLED = true;
PUSH_RELAY_URI = "https://push.bitwarden.com";
SMTP_HOST = "smtp.purelymail.com";
SMTP_FROM = "noreply+vaultwarden@inx.moe";
SMTP_PORT = 465;
SMTP_SECURITY = "force_tls";
SMTP_USERNAME = "noreply@inx.moe";
};
};
}