module: include pkgs.git directly in service path

This commit is contained in:
müde 2026-05-15 00:19:16 +02:00
parent b20055293e
commit 42e7761ea1

View file

@ -57,7 +57,10 @@ in
systemd.services.hive-c0re = { systemd.services.hive-c0re = {
description = "hyperhive coordinator daemon"; description = "hyperhive coordinator daemon";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
path = [ "/run/current-system/sw" ]; path = [
pkgs.git
"/run/current-system/sw"
];
serviceConfig = { serviceConfig = {
ExecStart = "${cfg.package}/bin/hive-c0re --socket /run/hyperhive/host.sock serve --hyperhive-flake ${cfg.hyperhiveFlake} --dashboard-port ${toString cfg.dashboardPort}"; ExecStart = "${cfg.package}/bin/hive-c0re --socket /run/hyperhive/host.sock serve --hyperhive-flake ${cfg.hyperhiveFlake} --dashboard-port ${toString cfg.dashboardPort}";
Restart = "on-failure"; Restart = "on-failure";