mochi/nixos/hosts/gandalf/config/sanoid.nix
Joseph Hanson 2b6d062d16
All checks were successful
Build / nix-build (native-x86_64, telperion) (push) Successful in 2m13s
Build / nix-build (native-x86_64, gandalf) (push) Successful in 3m23s
Build / nix-build (native-x86_64, shadowfax) (push) Successful in 4m38s
reformat
2024-12-27 21:30:25 -06:00

36 lines
772 B
Nix

{ ... }:
{
outputs = {
# ZFS automated snapshots
templates = {
"production" = {
recursive = true;
autoprune = true;
autosnap = true;
hourly = 24;
daily = 7;
monthly = 12;
};
};
datasets = {
"eru/xen-backups" = {
useTemplate = [ "production" ];
};
"eru/hansonhive" = {
useTemplate = [ "production" ];
};
"eru/tm_joe" = {
useTemplate = [ "production" ];
};
"eru/tm_elisia" = {
useTemplate = [ "production" ];
};
"eru/containers/volumes/xo-data" = {
useTemplate = [ "production" ];
};
"eru/containers/volumes/xo-redis-data" = {
useTemplate = [ "production" ];
};
};
};
}