From 94af0087bfad685ca7f3021cba941e1d1a1ce878 Mon Sep 17 00:00:00 2001 From: twoneis Date: Mon, 6 May 2024 22:20:24 +0200 Subject: [PATCH] some fixes maybe --- devices/ellaca/disko.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/devices/ellaca/disko.nix b/devices/ellaca/disko.nix index 3607ac6..4963a48 100644 --- a/devices/ellaca/disko.nix +++ b/devices/ellaca/disko.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - ssd1 = { + ssd0 = { type = "disk"; device = "/dev/nvme0n1"; content = { @@ -34,7 +34,7 @@ }; }; }; - hdd1 = { + hdd0 = { type = "disk"; device = "/dev/sda"; content = { @@ -60,12 +60,13 @@ canmount = "off"; "com.sun:auto-snapshot" = "false"; }; + mountpoint = "/"; postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank"; datasets = { - root = { + home = { type = "zfs_fs"; - mountpoint = "/"; + mountpoint = "/home"; }; nix = { type = "zfs_fs";