lifecycle: HYPERHIVE_GIT env override (bypass PATH); module sets it

This commit is contained in:
müde 2026-05-15 00:24:51 +02:00
parent 42e7761ea1
commit 7c1ed07cf2
4 changed files with 34 additions and 5 deletions

View file

@ -61,6 +61,7 @@ in
pkgs.git
"/run/current-system/sw"
];
environment.HYPERHIVE_GIT = "${pkgs.git}/bin/git";
serviceConfig = {
ExecStart = "${cfg.package}/bin/hive-c0re --socket /run/hyperhive/host.sock serve --hyperhive-flake ${cfg.hyperhiveFlake} --dashboard-port ${toString cfg.dashboardPort}";
Restart = "on-failure";