add attic-sync-hydra service. refactor attic to its own module

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2024-06-22 12:36:23 -04:00
committed by Alice Huston
parent 306fd0de17
commit de71eb7919
4 changed files with 143 additions and 80 deletions

View File

@ -0,0 +1,4 @@
#!/usr/bin/env nix
#! nix shell nixpkgs#bash nixpkgs#findutils nixpkgs#attic-client --command bash
find . -regex ".*\.drv$" -exec attic push cache-nix-dot '/ZFS/ZFS-primary/hydra/{}' \;