From b9775e104fc278e77d8bd6b4a5fffc119c438c72 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Wed, 28 Feb 2024 17:21:41 +0100 Subject: use zfs on ssd --- machines/pump.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'machines') diff --git a/machines/pump.nix b/machines/pump.nix index 4045b79..4fbada2 100644 --- a/machines/pump.nix +++ b/machines/pump.nix @@ -41,6 +41,15 @@ boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; + boot.supportedFilesystems = [ "zfs" ]; + boot.zfs.forceImportRoot = false; + networking.hostId = "7da046cb"; + + fileSystems."/data" = + { device = "zpool/data"; + fsType = "zfs"; + }; + fileSystems."/" = { device = "/dev/disk/by-uuid/fc8829a4-d9d5-4001-a3b2-8dae8b85acd7"; fsType = "ext4"; -- cgit v1.2.3