From 7021682f00dce3d3ec6c8d13f01fb886a174bfbf Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Sun, 22 Apr 2018 11:43:22 +0200 Subject: [PATCH] Stockage postgres et matrix sur ZFS --- hardware-configuration.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 9f4acef9f..9c79450a3 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -102,6 +102,16 @@ fsType = "zfs"; }; + fileSystems."/var/lib/postgresql" = + { device = "loutrepool/var/postgresql"; + fsType = "zfs"; + }; + + fileSystems."/var/lib/matrix-synapse" = + { device = "loutrepool/var/matrix-synapse"; + fsType = "zfs"; + }; + swapDevices = [ { device = "/var/swapfile"; } ];