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
boot = {
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" ];
extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
supportedFilesystems = [ "zfs" ];

View File

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