diff --git a/hosts/omnibus/configuration.nix b/hosts/omnibus/configuration.nix index ba38c1c..8494a42 100644 --- a/hosts/omnibus/configuration.nix +++ b/hosts/omnibus/configuration.nix @@ -122,7 +122,12 @@ }; }; - environment.systemPackages = with pkgs; [ yt-dlp ]; + environment.systemPackages = with pkgs; [ + yt-dlp + mbuffer + pv + util-linux + ]; services.restic.backups.files-rsync-net = { initialize = true; diff --git a/hosts/omnibus/disk-config.nix b/hosts/omnibus/disk-config.nix index 2f88ca2..37281e9 100644 --- a/hosts/omnibus/disk-config.nix +++ b/hosts/omnibus/disk-config.nix @@ -207,10 +207,12 @@ in blockbuster = { type = "zpool"; + mode = "raidz2"; options = { ashift = "12"; autotrim = "on"; + autoexpand = "on"; }; rootFsOptions = { @@ -218,14 +220,14 @@ in compression = "lz4"; dnodesize = "auto"; normalization = "formD"; - relatime = "on"; + atime = "off"; xattr = "sa"; mountpoint = "none"; }; postCreateHook = '' - zpool add -f blockbuster log ${disks.nvme0} - zpool add -f blockbuster cache ${disks.nvme1} + # zpool add -f blockbuster log ${disks.nvme0} + # zpool add -f blockbuster cache ${disks.nvme1} ''; datasets = { @@ -244,6 +246,7 @@ in options = { canmount = "on"; mountpoint = "legacy"; + recordsize = "1M"; }; };