Commit 57b8aaa0e8fb

Vincent Demeester <vincent@sbr.pm>
2026-01-14 09:34:00
fix(harmonia): add required tools to builder service PATH
The harmonia-cache-builder service was failing to run git pull because openssh was not available in the systemd service PATH. This caused the git pull to fail when trying to authenticate with the SSH remote. Added openssh, git, nix, and nixos-rebuild to the service path to ensure all required tools are available during the build process. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent d2178a5
Changed files (1)
modules
harmonia
modules/harmonia/default.nix
@@ -167,6 +167,13 @@ in
           TimeoutStartSec = "2h";
         };
 
+        path = with pkgs; [
+          openssh
+          git
+          nix
+          nixos-rebuild
+        ];
+
         script =
           let
             notifyStart = optionalString cfg.builder.notification.enable ''