From 2d85a28eae45f8711aca8a1666d2b7759b17bf5a Mon Sep 17 00:00:00 2001 From: Dict Xiong Date: Tue, 11 Jun 2024 14:15:24 +0800 Subject: [PATCH] feat(g12): mount zfs --- hosts/g12/hardware-configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/g12/hardware-configuration.nix b/hosts/g12/hardware-configuration.nix index 3ef06b4..a942d13 100644 --- a/hosts/g12/hardware-configuration.nix +++ b/hosts/g12/hardware-configuration.nix @@ -28,6 +28,12 @@ [ { device = "/dev/disk/by-uuid/56730816-8ed6-48d9-a4a9-4afad7f6d7b3"; } ]; + fileSystems."/home2" = + { device = "home2"; + fsType = "zfs"; + neededForBoot = false; + }; + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction