From 94eecc7e2010d7fcc3597a741db9327d53943545 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 17 May 2021 10:48:37 +0200 Subject: [PATCH] Add frontend vdev --- modules/hardware-configuration.nix | 41 +++++++++++++++++------------- 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/modules/hardware-configuration.nix b/modules/hardware-configuration.nix index 25b9213..a07953f 100644 --- a/modules/hardware-configuration.nix +++ b/modules/hardware-configuration.nix @@ -43,18 +43,13 @@ fsType = "zfs"; }; - fileSystems."/vault/backups" = - { device = "vault/backups"; - fsType = "zfs"; - }; - fileSystems."/vault/VMs" = { device = "vault/VMs"; fsType = "zfs"; }; - fileSystems."/vault/code" = - { device = "vault/code"; + fileSystems."/vault/backups" = + { device = "vault/backups"; fsType = "zfs"; }; @@ -63,8 +58,8 @@ fsType = "zfs"; }; - fileSystems."/vault/config" = - { device = "vault/config"; + fileSystems."/vault/code" = + { device = "vault/code"; fsType = "zfs"; }; @@ -78,13 +73,8 @@ fsType = "zfs"; }; - fileSystems."/vault/backups/documents" = - { device = "vault/backups/documents"; - fsType = "zfs"; - }; - - fileSystems."/vault/VMs/legacy" = - { device = "vault/VMs/legacy"; + fileSystems."/vault/backups/wordpress" = + { device = "vault/backups/wordpress"; fsType = "zfs"; }; @@ -93,8 +83,23 @@ fsType = "zfs"; }; - fileSystems."/vault/backups/wordpress" = - { device = "vault/backups/wordpress"; + fileSystems."/vault/backups/documents" = + { device = "vault/backups/documents"; + fsType = "zfs"; + }; + + fileSystems."/vault/config" = + { device = "vault/config"; + fsType = "zfs"; + }; + + fileSystems."/vault/VMs/legacy" = + { device = "vault/VMs/legacy"; + fsType = "zfs"; + }; + + fileSystems."/vault/frontend" = + { device = "vault/frontend"; fsType = "zfs"; };