feat(hetzner): fix SMTP on virtualcam website and rm opencode
CI / Flake check (aarch64-linux) (push) Failing after 1m41s
CI / Flake check (x86_64-linux) (push) Failing after 2m41s

This commit is contained in:
2026-08-17 05:29:08 +02:00
parent 75be43140f
commit e64c3d1310
5 changed files with 8 additions and 19 deletions
@@ -4,7 +4,7 @@
unstablePkgs,
...
}: let
rev = "0e7135918c251ce6bcc2ead1d3f4cf0075ae2c55";
rev = "3b45cc1233f11a40a756b371c9e2813c78a1ca82";
apiRev = "a73f4c4be840444072b0a7f5458438a34b470ea9";
# Private repositories are fetched over SSH (port 2222). nix-daemon runs as
@@ -88,7 +88,7 @@
chmod 0600 "${envFile}"
${pkgs.sops}/bin/sops --decrypt --input-type yaml --output-type yaml ${secretsFile} |
${pkgs.gnused}/bin/sed -nE \
's/^virtualcam_license_signing_key: (.*)/LICENSE_SIGNING_KEY=\1/p; s/^virtualcam_admin_token: (.*)/ADMIN_TOKEN=\1/p' \
's/^virtualcam_license_signing_key: (.*)/LICENSE_SIGNING_KEY=\1/p; s/^virtualcam_admin_token: (.*)/ADMIN_TOKEN=\1/p; s/^virtualcam_smtp_pass: (.*)/SMTP_PASS=\1/p' \
>> "${envFile}"
'';
@@ -233,10 +233,10 @@ in {
"APP_URL=https://virtualcam.severijnse.eu"
"PAYMENTS_MODE=shkeeper"
"ADMIN_EMAILS=jory@severijnse.eu"
"SMTP_HOST=localhost"
"SMTP_HOST=mail.severijnse.eu"
"SMTP_PORT=587"
"SMTP_USER=jory@severijnse.eu"
"SMTP_FROM=noreply@severijnse.eu"
"SMTP_USER=no-reply@severijnse.eu"
"SMTP_FROM=no-reply@severijnse.eu"
"NODE_ENV=production"
"NEXT_TELEMETRY_DISABLED=1"
"HOME=/var/lib/virtualcam"
@@ -1,10 +0,0 @@
{pkgs, ...}: {
environment.systemPackages = [
(pkgs.writeShellScriptBin "opencode" ''
exec /home/admin/.local/bin/opencode "$@"
'')
];
programs.fish.shellInit = ''
'';
}