mirror of
https://github.com/FabricSoul/nixos-configs.git
synced 2026-02-03 22:26:24 -05:00
update: add hugepages
This commit is contained in:
parent
beb2c41959
commit
b7437b9d05
1 changed files with 5 additions and 0 deletions
|
|
@ -15,6 +15,11 @@
|
||||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
|
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
|
||||||
boot.initrd.kernelModules = [];
|
boot.initrd.kernelModules = [];
|
||||||
boot.kernelModules = ["kvm-amd"];
|
boot.kernelModules = ["kvm-amd"];
|
||||||
|
boot.kernelParams = [
|
||||||
|
"default_hugepagesz=1G"
|
||||||
|
"hugepagesz=1G"
|
||||||
|
"hugepages=1"
|
||||||
|
];
|
||||||
boot.supportedFilesystems = ["zfs"];
|
boot.supportedFilesystems = ["zfs"];
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue