Go to file
2023-07-21 23:59:04 +02:00
nix Add NixOS modules 2023-07-21 23:26:00 +02:00
flake.lock Init repository 2023-07-21 21:46:25 +02:00
flake.nix Add NixOS modules 2023-07-21 23:26:00 +02:00
pyproject.toml Init repository 2023-07-21 21:46:25 +02:00
README.md Add readme 2023-07-21 23:59:04 +02:00
update_from_hydra.py Display nix copy command line before execution 2023-07-21 23:29:13 +02:00

Update from Hydra

Update a symlink to the current output of a hydra build.

Usage:

update-from-hydra https://hydra.clerie.de/job/nixfiles/nixfiles/iso/latest-finished /var/www/html/installer https://nix-cache.clerie.de

NixOS Module:

services.update-from-hydra = {
  enable = true;
  paths.iso = {
    hydraUrl = "https://hydra.clerie.de/job/nixfiles/nixfiles/iso/latest-finished";
    updatePath = "/var/www/html/installer";
    storeUri = "https://nix-cache.clerie.de";
  };
};