summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
authorMike Vink <mike@pionative.com>2024-02-28 17:21:41 +0100
committerMike Vink <mike@pionative.com>2024-02-28 17:21:41 +0100
commitb9775e104fc278e77d8bd6b4a5fffc119c438c72 (patch)
treea1a01287bcda95d4a589e953cf9fd113eecb4dd9 /machines
parentfea49b3fb6b4d4a6b5a95c059d8e4afcb4ded5cb (diff)
use zfs on ssd
Diffstat (limited to 'machines')
-rw-r--r--machines/pump.nix9
1 files changed, 9 insertions, 0 deletions
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";