From 283f1c297eb47b49cb588af5e2182a33efdbae0d Mon Sep 17 00:00:00 2001 From: Asmir A Date: Tue, 3 Oct 2023 23:55:01 +0200 Subject: [PATCH] nixy: set mem_sleep_default to deep in kernel cmd line; enable wasi and x64-windows binfmt emulation --- nixy/configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixy/configuration.nix b/nixy/configuration.nix index 36b25c1..cfd4049 100644 --- a/nixy/configuration.nix +++ b/nixy/configuration.nix @@ -37,8 +37,9 @@ extraModulePackages = with config.boot.kernelPackages; [usbip]; initrd.compressor = "zstd"; initrd.kernelModules = ["amdgpu"]; + binfmt.emulatedSystems = ["wasm32-wasi" "x86_64-windows"]; kernelPackages = pkgs.linuxPackages_latest; - kernelParams = ["psmouse.synaptics_intertouch=0"]; + kernelParams = ["psmouse.synaptics_intertouch=0" "mem_sleep_default=deep"]; loader.efi.canTouchEfiVariables = true; loader.systemd-boot = { editor = false;