nixy: set mem_sleep_default to deep in kernel cmd line; enable wasi and x64-windows binfmt emulation

This commit is contained in:
Asmir A 2023-10-03 23:55:01 +02:00
parent 880d6e9aed
commit 283f1c297e

View File

@ -37,8 +37,9 @@
extraModulePackages = with config.boot.kernelPackages; [usbip]; extraModulePackages = with config.boot.kernelPackages; [usbip];
initrd.compressor = "zstd"; initrd.compressor = "zstd";
initrd.kernelModules = ["amdgpu"]; initrd.kernelModules = ["amdgpu"];
binfmt.emulatedSystems = ["wasm32-wasi" "x86_64-windows"];
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_latest;
kernelParams = ["psmouse.synaptics_intertouch=0"]; kernelParams = ["psmouse.synaptics_intertouch=0" "mem_sleep_default=deep"];
loader.efi.canTouchEfiVariables = true; loader.efi.canTouchEfiVariables = true;
loader.systemd-boot = { loader.systemd-boot = {
editor = false; editor = false;