From 1ca6c43c3de94430fd2f779e72dcf0c6d5174187 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 6 Apr 2021 15:11:31 +0200 Subject: [PATCH] Add document and website backup vdevs --- modules/hardware-configuration.nix | 46 ++++++++++++++++++------------ 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/modules/hardware-configuration.nix b/modules/hardware-configuration.nix index d64d479..afb7058 100644 --- a/modules/hardware-configuration.nix +++ b/modules/hardware-configuration.nix @@ -42,8 +42,8 @@ fsType = "zfs"; }; - fileSystems."/vault/samba" = { - device = "vault/samba"; + fileSystems."/vault/backups" = { + device = "vault/backups"; fsType = "zfs"; }; @@ -52,23 +52,13 @@ fsType = "zfs"; }; - fileSystems."/vault/VMs/legacy" = { - device = "vault/VMs/legacy"; + fileSystems."/vault/config" = { + device = "vault/config"; fsType = "zfs"; }; - fileSystems."/vault/backups" = { - device = "vault/backups"; - fsType = "zfs"; - }; - - fileSystems."/vault/nextcloud" = { - device = "vault/nextcloud"; - fsType = "zfs"; - }; - - fileSystems."/vault/backups/databases" = { - device = "vault/backups/databases"; + fileSystems."/vault/samba" = { + device = "vault/samba"; fsType = "zfs"; }; @@ -77,8 +67,28 @@ fsType = "zfs"; }; - fileSystems."/vault/config" = { - device = "vault/config"; + fileSystems."/vault/VMs/legacy" = { + device = "vault/VMs/legacy"; + fsType = "zfs"; + }; + + fileSystems."/vault/backups/databases" = { + device = "vault/backups/databases"; + fsType = "zfs"; + }; + + fileSystems."/vault/nextcloud" = { + device = "vault/nextcloud"; + fsType = "zfs"; + }; + + fileSystems."/vault/backups/documents" = { + device = "vault/backups/documents"; + fsType = "zfs"; + }; + + fileSystems."/vault/backups/frontend" = { + device = "vault/backups/frontend"; fsType = "zfs"; };