From 509b4a8f424e32ca468a9fdc5aaef7db90be83e5 Mon Sep 17 00:00:00 2001 From: NotNite Date: Sat, 29 Apr 2023 13:12:03 -0400 Subject: [PATCH] it dont work lmfao --- flake.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 772f8af..0d5acf4 100644 --- a/flake.nix +++ b/flake.nix @@ -148,6 +148,11 @@ export PORT=${toString cfg.port} export NODE_ENV=production export DATABASE_URL="file:${cfg.databaseFile}" + + set -a + source ${cfg.envFile} + set +a + ${pkg}/bin/gluestick ''; @@ -156,7 +161,6 @@ Group = cfg.group; Restart = "always"; WorkingDirectory = "/var/lib/gluestick"; - EnvironmentFile = cfg.envFile; }; };