From 9bf87471614591e7ffce9ae07ee498721143eadc Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Tue, 11 Jul 2023 23:06:08 +0200 Subject: [PATCH] put var/lib on separate dataset --- hosts/dishwasher/hardware-configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/dishwasher/hardware-configuration.nix b/hosts/dishwasher/hardware-configuration.nix index 9e506a6..653c31c 100644 --- a/hosts/dishwasher/hardware-configuration.nix +++ b/hosts/dishwasher/hardware-configuration.nix @@ -35,6 +35,13 @@ options = [ "zfsutil" ]; }; + fileSystems."/var/lib" = + { + device = "rpool/userdata/var-lib"; + fsType = "zfs"; + options = [ "zfsutil" ]; + }; + fileSystems."/boot" = { device = "/dev/disk/by-uuid/A8AA-1CC4";