From c9387ede1ee6f8a809da6687e099f6586868a22e Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Mon, 27 Feb 2023 19:41:17 +0100 Subject: [PATCH] [Desktop/Games] Fix Hogwarts Legacy crash --- desktop/games.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/desktop/games.nix b/desktop/games.nix index e52a913..7bacc75 100644 --- a/desktop/games.nix +++ b/desktop/games.nix @@ -23,6 +23,12 @@ in { lutris ]; + boot.kernel.sysctl = { + + # Fixes crash in Hogwarts Legacy when using Floo network (https://steamcommunity.com/app/990080/discussions/0/3773490215223050912/) + "vm.max_map_count" = 512 * 1024; + }; + programs.gamemode = { settings = { general = {