summaryrefslogtreecommitdiff
path: root/hosts/dishwasher
diff options
context:
space:
mode:
authorGrigory Shipunov2023-07-11 23:06:08 +0200
committerGrigory Shipunov2023-07-11 23:06:08 +0200
commit9bf87471614591e7ffce9ae07ee498721143eadc (patch)
tree3d9905a09501505511cb14236f48c5a6586daa2e /hosts/dishwasher
parent3777a6880e5379d737d521c19a3e588e394a23fe (diff)
put var/lib on separate dataset
Diffstat (limited to 'hosts/dishwasher')
-rw-r--r--hosts/dishwasher/hardware-configuration.nix7
1 files changed, 7 insertions, 0 deletions
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";