ajoute git au path du service pxe-publish

This commit is contained in:
2026-09-09 09:22:18 +02:00
parent 294c6dc3a6
commit a2e98243bb
+5 -1
View File
@@ -102,7 +102,11 @@ in
# quotidien automatique ci-dessous.
systemd.services.pxe-publish = {
description = "Publie l'image d'installation netboot Nixos_Fleet pour le PXE";
path = [ config.nix.package ];
# git est nécessaire : nix doit fetcher l'URL git+https:// du flake.
path = [
config.nix.package
pkgs.git
];
script = ''
set -euo pipefail
kernel=$(nix build --no-link --print-out-paths "${fleetRepo}#nixosConfigurations.installer-netboot.config.system.build.kernel")