ahuston-0 de71eb7919 add attic-sync-hydra service. refactor attic to its own module
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-06-22 17:04:01 +00:00

5 lines
187 B
Bash

#!/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/{}' \;