chore: vm optmizations

This commit is contained in:
Thiago Sposito 2026-01-10 19:57:54 -03:00
parent 87d106fd87
commit b93123bb5a
Signed by: thiago
GPG key ID: 3065EA73A976D430
2 changed files with 8 additions and 2 deletions

View file

@ -17,11 +17,11 @@
}; };
environment = { environment = {
gnome.excludePackages = [ pkgs.epiphany ];
systemPackages = with pkgs; [ systemPackages = with pkgs; [
act act
btrfs-progs btrfs-progs
cudatoolkit cudatoolkit
]; ];
}; };

View file

@ -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 = [ ];