25 lines
459 B
Markdown
25 lines
459 B
Markdown
# FOO UpDater
|
|
Declaratively keep your stuff up to date in your nixos config.
|
|
|
|
> [!WARNING]
|
|
> You shouldn't use this just yet as it's still a WIP
|
|
|
|
## Usage
|
|
```nix
|
|
services.fooud = {
|
|
enable = true;
|
|
repos = [
|
|
{
|
|
path = "/full/path/to/your/repo.git";
|
|
hooks = [
|
|
pkgs.writeScriptBin "post-recieve" ''
|
|
git clone . /var/www/your/deployed/location
|
|
'';
|
|
];
|
|
}
|
|
];
|
|
};
|
|
```
|
|
|
|
# TODO
|
|
- [ ] add support for non-git files
|