fix system hang during vim ctrl+z (disable io_uring in libuv)
This commit is contained in:
parent
43aa498ff9
commit
28110c3e85
|
@ -35,6 +35,16 @@
|
||||||
# servo needs zfs though, which doesn't support every kernel.
|
# servo needs zfs though, which doesn't support every kernel.
|
||||||
boot.kernelPackages = lib.mkDefault pkgs.zfs.latestCompatibleLinuxPackages;
|
boot.kernelPackages = lib.mkDefault pkgs.zfs.latestCompatibleLinuxPackages;
|
||||||
|
|
||||||
|
# TODO: remove after linux 6.9. see: <https://github.com/axboe/liburing/issues/1113>
|
||||||
|
# - <https://github.com/neovim/neovim/issues/28149>
|
||||||
|
# - <https://git.kernel.dk/cgit/linux/commit/?h=io_uring-6.9&id=e5444baa42e545bb929ba56c497e7f3c73634099>
|
||||||
|
# when removing, try starting and suspending (ctrl+z) two instances of neovim simultaneously.
|
||||||
|
# if the system doesn't freeze, then this is safe to remove.
|
||||||
|
# added 2024-04-04
|
||||||
|
sane.user.fs.".profile".symlink.text = lib.mkBefore ''
|
||||||
|
export UV_USE_IO_URING=0
|
||||||
|
'';
|
||||||
|
|
||||||
# hack in the `boot.shell_on_fail` arg since that doesn't always seem to work.
|
# hack in the `boot.shell_on_fail` arg since that doesn't always seem to work.
|
||||||
boot.initrd.preFailCommands = "allowShell=1";
|
boot.initrd.preFailCommands = "allowShell=1";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user