backup: init as a reusable module

This commit is contained in:
Katherina Walshe-Grey 2025-03-04 14:43:03 +00:00
parent 691c180ac1
commit fefc7bd20d
5 changed files with 144 additions and 31 deletions

View file

@ -102,6 +102,21 @@
"qenya@shaw".imports = [ ./hosts/shaw/home.nix ];
};
fountain.backup = {
keys = {
elucredassa = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFa3hjej6KGmS2aQ4s46Y7U8pN4yyR2FuMofpHRwXNk syncoid@elucredassa" ];
};
sync = {
"orm-state" = {
dataset = "state";
sourceHost = "orm";
targetHost = "elucredassa";
source = "rpool_orm";
target = "rpool_elucredassa/backup/orm";
};
};
};
flake.colmena = {
meta = {
nixpkgs = import nixpkgs-unstable {