From 3cd1302140d69171a65f5ba4874cab7809576dab Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Tue, 30 Apr 2024 23:27:30 -0400 Subject: [PATCH] add zfs arc settings for palatine-hill Signed-off-by: ahuston-0 --- systems/palatine-hill/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/systems/palatine-hill/configuration.nix b/systems/palatine-hill/configuration.nix index a3c97a3..d3ecdc6 100644 --- a/systems/palatine-hill/configuration.nix +++ b/systems/palatine-hill/configuration.nix @@ -55,6 +55,10 @@ in "vm.overcommit_memory" = 1; "vm.swappiness" = 10; }; + extraModprobeConfig = '' + options zfs zfs_arc_min=82463372083 + options zfs zfs_arc_max=192414534860 + ''; binfmt.emulatedSystems = [ "aarch64-linux" ]; initrd.secrets = lib.mergeAttrsList (map bootkey zfskeys); };