Specify PHX_HOST for reconn.

main
Joshua Potter 2024-04-12 14:50:17 -06:00
parent 5dc3c977f1
commit 4baeb59aaf
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ system, pkgs, lib, ... }: { system, pkgs, lib, ... }:
let let
reconn = ( reconn = (
builtins.getFlake "git+ssh://forgejo@git.jrpotter.com/r/reconn?rev=0657541aa62f9b7a672c239f92eb3b410a3dd1ce" builtins.getFlake "git+ssh://forgejo@git.jrpotter.com/r/reconn?rev=42376b2060d00856ed3ea3e9ef9177ef6c7bca80"
).packages.${system}.app; ).packages.${system}.app;
in in
{ {
@ -40,6 +40,7 @@ in
after = [ "network.target" "postgresql.service" ]; after = [ "network.target" "postgresql.service" ];
requires = [ "network-online.target" "postgresql.service" ]; requires = [ "network-online.target" "postgresql.service" ];
environment = { environment = {
PHX_HOST = "hideandseek.live";
DATABASE_URL = "ecto://postgres:postgres@localhost/reconn"; DATABASE_URL = "ecto://postgres:postgres@localhost/reconn";
}; };
serviceConfig = { serviceConfig = {