From 92d09646fa70df7d72599450bbf592f280023d8b Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 5 Jul 2024 18:57:17 +0100 Subject: [PATCH] Add postgres btrfs zvol --- hosts/common/disks/zfs/zspeed.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/hosts/common/disks/zfs/zspeed.nix b/hosts/common/disks/zfs/zspeed.nix index ead5709..9133e71 100644 --- a/hosts/common/disks/zfs/zspeed.nix +++ b/hosts/common/disks/zfs/zspeed.nix @@ -53,14 +53,11 @@ postgres = { type = "zfs_volume"; size = "10G -s"; - options = { - "com.sun:auto-snapshot:daily" = "true"; - "volblocksize" = "8k"; + content = { + type = "filesystem"; + format = "btrfs"; + mountpoint = "/postgres"; }; - }; - lxc = { - type = "zfs_volume"; - size = "10G -s"; options = { "com.sun:auto-snapshot:daily" = "true"; "volblocksize" = "8k";