From bdd46dedcf76a39e931f4e2caf7b798b9d26ced5 Mon Sep 17 00:00:00 2001 From: blahai Date: Mon, 16 Dec 2024 18:15:07 +0200 Subject: [PATCH] Nyx: zfs kernel args --- hosts/nyx/configuration.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hosts/nyx/configuration.nix b/hosts/nyx/configuration.nix index 92b0b0a..2e87a54 100644 --- a/hosts/nyx/configuration.nix +++ b/hosts/nyx/configuration.nix @@ -18,18 +18,20 @@ }; efi.canTouchEfiVariables = true; }; - supportedFilesystems = [ "zfs" ]; + supportedFilesystems = [ "zfs" "ext4" "btrfs" ]; zfs = { forceImportRoot = false; extraPools = [ "zpool" "zootfs" ]; devNodes = "/dev/disk/by-id"; - package = pkgs-smol.zfs; + package = pkgs.zfs; allowHibernation = true; # might cause corruption? }; - kernelPackages = pkgs-smol.linuxPackages_6_12; + kernelPackages = pkgs.linuxPackages_6_12; kernel = { sysctl = { "vm.max_map_count" = 2147483642; }; }; kernelParams = [ "elevator=none" # for zfs + "zfs.zfs_arc_max=8589934592" + "nvme.noacpi=1" ]; };