Set zfs ARC size always to 512MB
This commit is contained in:
parent
50193e5563
commit
54ceb36ed9
|
@ -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" ];
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue