From ce681f1dd2b9d603db964ce265716f6752e75945 Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 25 May 2023 11:57:28 +0200 Subject: [PATCH] Update hardware-configuration --- modules/hardware-configuration.nix | 44 ++++++++++++++++-------------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/modules/hardware-configuration.nix b/modules/hardware-configuration.nix index dbd811e..788848d 100644 --- a/modules/hardware-configuration.nix +++ b/modules/hardware-configuration.nix @@ -23,8 +23,8 @@ fsType = "vfat"; }; - fileSystems."/var/lib/matrix-as-facebook" = - { device = "vault/state_directories/matrix-as-facebook"; + fileSystems."/var/lib/prometheus2" = + { device = "vault/state_directories/prometheus"; fsType = "zfs"; }; @@ -33,8 +33,8 @@ fsType = "zfs"; }; - fileSystems."/var/lib/matrix-as-signal" = - { device = "vault/state_directories/matrix-as-signal"; + fileSystems."/var/lib/matrix-as-facebook" = + { device = "vault/state_directories/matrix-as-facebook"; fsType = "zfs"; }; @@ -43,13 +43,8 @@ fsType = "zfs"; }; - fileSystems."/var/lib/wallabag" = - { device = "vault/state_directories/wallabag"; - fsType = "zfs"; - }; - - fileSystems."/var/lib/matrix-as-telegram" = - { device = "vault/state_directories/matrix-as-telegram"; + fileSystems."/var/lib/matrix-as-signal" = + { device = "vault/state_directories/matrix-as-signal"; fsType = "zfs"; }; @@ -58,16 +53,31 @@ fsType = "zfs"; }; + fileSystems."/var/lib/matrix-as-telegram" = + { device = "vault/state_directories/matrix-as-telegram"; + fsType = "zfs"; + }; + fileSystems."/vault/backups" = { device = "vault/backups"; fsType = "zfs"; }; + fileSystems."/vault/mosquitto" = + { device = "vault/mosquitto"; + fsType = "zfs"; + }; + fileSystems."/vault/radicale" = { device = "vault/radicale"; fsType = "zfs"; }; + fileSystems."/vault/git" = + { device = "vault/git"; + fsType = "zfs"; + }; + fileSystems."/vault/syncthing" = { device = "vault/syncthing"; fsType = "zfs"; @@ -83,13 +93,8 @@ fsType = "zfs"; }; - fileSystems."/vault/mosquitto" = - { device = "vault/mosquitto"; - fsType = "zfs"; - }; - - fileSystems."/vault/git" = - { device = "vault/git"; + fileSystems."/var/lib/wallabag" = + { device = "vault/state_directories/wallabag"; fsType = "zfs"; }; @@ -99,9 +104,6 @@ options = [ "bind" ]; }; - fileSystems."/var/lib/prometheus2" = - { device = "vault/state_directories/prometheus"; - fsType = "zfs"; }; swapDevices = [ ];