Skip to content

Instantly share code, notes, and snippets.

@grahamc

grahamc/ex.nix Secret

Last active May 21, 2019 01:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamc/317fe7d5785cbba87a7632ad606110d4 to your computer and use it in GitHub Desktop.
Save grahamc/317fe7d5785cbba87a7632ad606110d4 to your computer and use it in GitHub Desktop.
{ config, ... }: {
services.znapzend = {
enable = true;
autoCreation = true;
zetup.rpool = {
plan = "1d=>1h,1m=>1d,1y=>1m";
recursive = true;
destinations.ogden = {
host = "znapreceiveuser@ogden";
dataset = "rpool/${config.networking.hostname}";
timestampFormat = "%Y-%m-%d--%H%M%SZ";
};
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment