chore: vm optmizations
This commit is contained in:
parent
87d106fd87
commit
b93123bb5a
2 changed files with 8 additions and 2 deletions
|
|
@ -17,11 +17,11 @@
|
|||
};
|
||||
|
||||
environment = {
|
||||
gnome.excludePackages = [ pkgs.epiphany ];
|
||||
systemPackages = with pkgs; [
|
||||
act
|
||||
btrfs-progs
|
||||
cudatoolkit
|
||||
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,13 @@
|
|||
"sd_mod"
|
||||
"xhci_pci"
|
||||
];
|
||||
kernelParams = [ "amd_pstate=active" "usbcore.autosuspend=-1" ];
|
||||
kernelParams = [ # used to improve VM perfomance (guix experiments)
|
||||
"amd_pstate=active"
|
||||
"usbcore.autosuspend=-1"
|
||||
"hugepagesz=1G"
|
||||
"hugepages=16"
|
||||
"default_hugepagesz=1G"
|
||||
];
|
||||
initrd.kernelModules = [ ];
|
||||
kernelModules = [ "kvm-amd" "iwlwifi" ];
|
||||
extraModulePackages = [ ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue