about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-01-23 03:05:44 +0900
committersefidel <contact@sefidel.net>2024-01-23 03:05:44 +0900
commit8aaea50551eab595ee951d1658a771127219781d (patch)
tree1297f24b2ba580a6413535ba0d6b833747982222
parentf8dfff5e9a7255ff754972216deb45c102054d99 (diff)
downloadnixrc-8aaea50551eab595ee951d1658a771127219781d.tar.gz
nixrc-8aaea50551eab595ee951d1658a771127219781d.zip
feat(nixos/kanata): configure zfs data pool
-rw-r--r--nixos/kanata/hardware-configuration.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/nixos/kanata/hardware-configuration.nix b/nixos/kanata/hardware-configuration.nix
index b81b08d..ca125a0 100644
--- a/nixos/kanata/hardware-configuration.nix
+++ b/nixos/kanata/hardware-configuration.nix
@@ -38,6 +38,31 @@
       fsType = "zfs";
     };
 
+  fileSystems."/smol/core" =
+  { device = "smol/ds1/core";
+    fsType = "zfs";
+  };
+
+  fileSystems."/smol/moon" =
+  { device = "smol/ds1/moon";
+    fsType = "zfs";
+  };
+
+  fileSystems."/smol/sandbox" =
+  { device = "smol/ds1/sandbox";
+    fsType = "zfs";
+  };
+
+  fileSystems."/smol/backups" =
+  { device = "smol/ds1/backups";
+    fsType = "zfs";
+  };
+
+  fileSystems."/smol/archive" =
+  { device = "smol/ds1/archive";
+    fsType = "zfs";
+  };
+
   swapDevices =
     [ { device = "/dev/disk/by-uuid/c092b7a3-813c-4be7-9730-45d9426f524c"; }
     ];