fix syntax

This commit is contained in:
2026-07-13 02:14:21 +10:00
parent 4078230052
commit 6cc79e0c36
3 changed files with 49 additions and 19 deletions
+16
View File
@@ -0,0 +1,16 @@
{ ... }:
{
boot.supportedFilesystems = [ "zfs" ];
boot.zfs.forceImportRoot = false;
boot.zfs.package = pkgs.zfs_unstable;
services.zfs = {
autoScrub.enable = true;
autoSnapshot.enable = true;
trim.enable = true;
};
systemd.services.zfs-import-cache.enable = true;
systemd.services.zfs-mount.enable = true;
boot.zfs.devNodes = "/dev/disk/by-id";
}