From caf98d015bd23f2b2c191283a2772c98253b5e3f Mon Sep 17 00:00:00 2001 From: chris Date: Wed, 15 Oct 2025 12:05:40 +0000 Subject: [PATCH] too lazy to think of a message, so enjoy this pointless text. Good luck future me... --- nix/modules/customer-portal/flake-module.nix | 4 ++-- nix/packages/flake-module.nix | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/nix/modules/customer-portal/flake-module.nix b/nix/modules/customer-portal/flake-module.nix index 592afe1..202eec1 100755 --- a/nix/modules/customer-portal/flake-module.nix +++ b/nix/modules/customer-portal/flake-module.nix @@ -88,13 +88,13 @@ serviceConfig = { ExecStart = utils.escapeSystemdExecArgs [ - "BETTER_AUTH_SECRET='8&!3$!^U!&56qvSydEJ^E$cr^GSBWWFmbHJCLJ@w7vRWm7!R5b$DSoCmY$GW7HEF'" - "SESSION_SECRET='jJBqeVMvQe52HqLYWDunLEKbkkC9JqCrgP92nV5j2dC99eZWCtK9H2NrASH8AbxF'" (lib.getExe cfg.package) "--config" (format.generate "config.json" cfg.settings) ]; + Environment="BETTER_AUTH_SECRET='8&!3$!^U!&56qvSydEJ^E$cr^GSBWWFmbHJCLJ@w7vRWm7!R5b$DSoCmY$GW7HEF' SESSION_SECRET='jJBqeVMvQe52HqLYWDunLEKbkkC9JqCrgP92nV5j2dC99eZWCtK9H2NrASH8AbxF'" + StateDirectory = "amarth-customer-portal"; CacheDirectory = "amarth-customer-portal"; WorkingDirectory = cfg.settings.dataDir; diff --git a/nix/packages/flake-module.nix b/nix/packages/flake-module.nix index a506ae0..db6c6e4 100755 --- a/nix/packages/flake-module.nix +++ b/nix/packages/flake-module.nix @@ -17,9 +17,6 @@ buildPhase = '' runHook preBuild - - # export BETTER_AUTH_SECRET='8&!3$!^U!&56qvSydEJ^E$cr^GSBWWFmbHJCLJ@w7vRWm7!R5b$DSoCmY$GW7HEF' - # export SESSION_SECRET='jJBqeVMvQe52HqLYWDunLEKbkkC9JqCrgP92nV5j2dC99eZWCtK9H2NrASH8AbxF' bun run build --bun bun build --compile --target=bun-linux-x64 --minify --outfile ${pname} ./.output/server/index.mjs