try zen kernel
This commit is contained in:
parent
0b70e1608c
commit
f0d317563c
|
@ -25,16 +25,13 @@ in
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "23.05"; # Did you read the comment?
|
system.stateVersion = "23.05"; # Did you read the comment?
|
||||||
|
|
||||||
# use the latest kernel
|
# use the ZEN kernel
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_zen;
|
||||||
|
|
||||||
# my kernel parameters
|
# my kernel parameters
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
# don't check for split locks, for KVM and Co.
|
# don't check for split locks, for KVM and Co.
|
||||||
"split_lock_detect=off"
|
"split_lock_detect=off"
|
||||||
|
|
||||||
# avoid that my USB stuff sleeps
|
|
||||||
"usbcore.autosuspend=-1"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
|
@ -507,7 +504,7 @@ in
|
||||||
|
|
||||||
# enable VirtualBox
|
# enable VirtualBox
|
||||||
virtualisation.virtualbox.host.enable = true;
|
virtualisation.virtualbox.host.enable = true;
|
||||||
#virtualisation.virtualbox.host.enableKvm = true;
|
virtualisation.virtualbox.host.enableKvm = true;
|
||||||
virtualisation.virtualbox.host.enableHardening = false;
|
virtualisation.virtualbox.host.enableHardening = false;
|
||||||
virtualisation.virtualbox.host.addNetworkInterface = false;
|
virtualisation.virtualbox.host.addNetworkInterface = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue