Add readme

This commit is contained in:
clerie 2023-07-21 23:59:04 +02:00
parent 6ad8fb21fe
commit 19e31ff85b
1 changed files with 21 additions and 0 deletions

21
README.md Normal file
View File

@ -0,0 +1,21 @@
# 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";
};
};
```