From db3d5081768d2787af2bb5697dbdda0eb26cc600 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Mon, 9 Dec 2024 22:59:42 -0600 Subject: [PATCH] add container volumes to zfs snapshots. --- nixos/hosts/shadowfax/config/sanoid.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/nixos/hosts/shadowfax/config/sanoid.nix b/nixos/hosts/shadowfax/config/sanoid.nix index f3c0cf7..0639a0a 100644 --- a/nixos/hosts/shadowfax/config/sanoid.nix +++ b/nixos/hosts/shadowfax/config/sanoid.nix @@ -12,6 +12,22 @@ monthly = 12; }; }; - datasets = { }; + datasets = { + "nahar/scrypted" = { + useTemplate = ["production"]; + }; + "nahar/containers/volumes/plex" = { + useTemplate = ["production"]; + }; + "nahar/containers/volumes/scrypted" = { + useTemplate = ["production"]; + }; + "nahar/containers/volumes/jellyfin" = { + useTemplate = ["production"]; + }; + "nahar/containers/volumes/scrutiny" = { + useTemplate = ["production"]; + }; + }; }; }