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 = {
|
environment = {
|
||||||
|
gnome.excludePackages = [ pkgs.epiphany ];
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
act
|
act
|
||||||
btrfs-progs
|
btrfs-progs
|
||||||
cudatoolkit
|
cudatoolkit
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,13 @@
|
||||||
"sd_mod"
|
"sd_mod"
|
||||||
"xhci_pci"
|
"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 = [ ];
|
initrd.kernelModules = [ ];
|
||||||
kernelModules = [ "kvm-amd" "iwlwifi" ];
|
kernelModules = [ "kvm-amd" "iwlwifi" ];
|
||||||
extraModulePackages = [ ];
|
extraModulePackages = [ ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue