From 2384ed80618628cd47d52dd9d3e876d3a03ff933 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 19 Jun 2023 00:28:30 +0200 Subject: [PATCH] Use ZFS dataset for Grafana data --- modules/hardware-configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/hardware-configuration.nix b/modules/hardware-configuration.nix index 0d7575e..44c7dd1 100644 --- a/modules/hardware-configuration.nix +++ b/modules/hardware-configuration.nix @@ -36,6 +36,11 @@ fsType = "zfs"; }; + fileSystems."/var/lib/grafana" = { + device = "vault/state_directories/grafana"; + fsType = "zfs"; + }; + fileSystems."/var/lib/gitea" = { device = "vault/state_directories/gitea"; fsType = "zfs";