ajoute git au path du service pxe-publish
This commit is contained in:
@@ -102,7 +102,11 @@ in
|
|||||||
# quotidien automatique ci-dessous.
|
# quotidien automatique ci-dessous.
|
||||||
systemd.services.pxe-publish = {
|
systemd.services.pxe-publish = {
|
||||||
description = "Publie l'image d'installation netboot Nixos_Fleet pour le PXE";
|
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 = ''
|
script = ''
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
kernel=$(nix build --no-link --print-out-paths "${fleetRepo}#nixosConfigurations.installer-netboot.config.system.build.kernel")
|
kernel=$(nix build --no-link --print-out-paths "${fleetRepo}#nixosConfigurations.installer-netboot.config.system.build.kernel")
|
||||||
|
|||||||
Reference in New Issue
Block a user