From fb9219719d5f5f25f334f1b03d0992c29c5bfcb8 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Sat, 16 Nov 2024 14:06:15 +0100 Subject: [PATCH] adds backup ZFS mount points to configuration --- config/nixos/hardware/mennos-server/zfs.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config/nixos/hardware/mennos-server/zfs.nix b/config/nixos/hardware/mennos-server/zfs.nix index da564ff..870484e 100644 --- a/config/nixos/hardware/mennos-server/zfs.nix +++ b/config/nixos/hardware/mennos-server/zfs.nix @@ -66,6 +66,17 @@ in boot.kernelParams = [ "zfs.zfs_compressed_arc_enabled=1" ]; fileSystems = { + # backup ZFS mount points + "/mnt/backups/photos" = { + device = "backup/photos-duplicati"; + fsType = "zfs"; + }; + "/mnt/backups/services" = { + device = "backup/services-duplicati"; + fsType = "zfs"; + }; + + # datapool ZFS mount points "/mnt/ai" = { device = "datapool/ai"; fsType = "zfs";