upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nix/module.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nix/module.nix b/nix/module.nix
index 8136ae1..d820b67 100644
--- a/nix/module.nix
+++ b/nix/module.nix
@@ -239,6 +239,9 @@ let
239 # Working directory where .relay-owner.nsec will be created if needed 239 # Working directory where .relay-owner.nsec will be created if needed
240 WorkingDirectory = cfg.dataDir; 240 WorkingDirectory = cfg.dataDir;
241 241
242 # Add git to PATH for purgatory sync operations
243 Environment = "PATH=${pkgs.git}/bin:${pkgs.openssh}/bin";
244
242 # Command to run 245 # Command to run
243 ExecStart = if cfg.relayOwnerNsecFile != null then 246 ExecStart = if cfg.relayOwnerNsecFile != null then
244 # Use nsec from file - need to use shell to read the file 247 # Use nsec from file - need to use shell to read the file