From d6ffd04adbb74655174bedab0ee0943716bee0d0 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Sun, 2 Apr 2023 16:17:32 +0200 Subject: [PATCH] ZFS extra attributes for `mothership` --- hosts/mothership/disko.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/hosts/mothership/disko.nix b/hosts/mothership/disko.nix index 69b763a..22253f4 100644 --- a/hosts/mothership/disko.nix +++ b/hosts/mothership/disko.nix @@ -66,10 +66,20 @@ compression = "lz4"; "com.sun:auto-snapshot" = "false"; }; + options.acltype = "posix"; datasets = { root = { zfs_type = "filesystem"; - options.mountpoint = "legacy"; + options = { + mountpoint = "legacy"; + autotrim = "on"; + ashift = "12"; + acltype = "posix"; + dnodesize = "auto"; + normalization = "formD"; + relatime = "on"; + xattr = "sa"; + }; mountpoint = "/"; }; };