37 lines
838 B
Nix
37 lines
838 B
Nix
{ ... }:
|
|
{
|
|
outputs = {
|
|
# ZFS automated snapshots
|
|
templates = {
|
|
"production" = {
|
|
autoprune = true;
|
|
autosnap = true;
|
|
hourly = 24;
|
|
daily = 7;
|
|
monthly = 12;
|
|
};
|
|
};
|
|
datasets = {
|
|
"nahar/scrypted" = {
|
|
useTemplate = [ "production" ];
|
|
recursive = true;
|
|
};
|
|
"nahar/containers/volumes/plex" = {
|
|
useTemplate = [ "production" ];
|
|
recursive = true;
|
|
};
|
|
"nahar/containers/volumes/scrypted" = {
|
|
useTemplate = [ "production" ];
|
|
recursive = true;
|
|
};
|
|
"nahar/containers/volumes/jellyfin" = {
|
|
useTemplate = [ "production" ];
|
|
recursive = true;
|
|
};
|
|
"nahar/containers/volumes/scrutiny" = {
|
|
useTemplate = [ "production" ];
|
|
recursive = true;
|
|
};
|
|
};
|
|
};
|
|
}
|