Set zfs ARC size always to 512MB

This commit is contained in:
coolneng 2020-10-28 16:52:29 +01:00
parent 50193e5563
commit 54ceb36ed9
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
# Kernel configuration # Kernel configuration
boot = { boot = {
kernelPackages = pkgs.linuxPackages_zen; kernelPackages = pkgs.linuxPackages_zen;
kernelParams = [ "zfs.zfs_arc_max=536870912" ]; kernelParams = [ "zfs.zfs_arc_min=536870912 zfs.zfs_arc_max=536870912" ];
kernelModules = [ "i915" "acpi_call" "kvm-intel" ]; kernelModules = [ "i915" "acpi_call" "kvm-intel" ];
extraModulePackages = with config.boot.kernelPackages; [ acpi_call ]; extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
supportedFilesystems = [ "zfs" ]; supportedFilesystems = [ "zfs" ];

View File

@ -70,6 +70,8 @@
zip zip
unzip unzip
unar unar
# Overlays
cachix
# Programming tools # Programming tools
## Shell ## Shell
shellcheck shellcheck
@ -79,8 +81,6 @@
## Python ## Python
nodePackages.pyright nodePackages.pyright
black black
# Overlays
cachix
]; ];
# Fonts declaration # Fonts declaration