diff --git a/nix/home-manager/progs/gpt4all-HEAD-disable-settings-err.patch b/nix/home-manager/progs/gpt4all-HEAD-disable-settings-err.patch new file mode 100644 index 0000000..c6ac33b --- /dev/null +++ b/nix/home-manager/progs/gpt4all-HEAD-disable-settings-err.patch @@ -0,0 +1,19 @@ +diff --git a/gpt4all-chat/src/main.qml b/gpt4all-chat/src/main.qml +index 1e685385..7c747eba 100644 +--- a/src/main.qml ++++ b/src/main.qml +@@ -72,12 +72,14 @@ Window { + return; + } + ++ /* + // check if we have access to settings and if not show an error + if (!hasShownSettingsAccess && !LLM.hasSettingsAccess()) { + errorSettingsAccess.open(); + hasShownSettingsAccess = true; + return; + } ++ */ + + // check for first time start of this version + if (!hasCheckedFirstStart) { diff --git a/nix/home-manager/progs/gpt4all.nix b/nix/home-manager/progs/gpt4all.nix index 26d5572..49b3bee 100644 --- a/nix/home-manager/progs/gpt4all.nix +++ b/nix/home-manager/progs/gpt4all.nix @@ -28,7 +28,10 @@ rev = "HEAD"; sha256 = "lGvxTOBg7/UgrCqeAFNFFXD9VjpUk3IVCktdUYuF6Eo="; }; - patches = [ ./gpt4all-HEAD-embeddings-model.patch ]; + patches = [ + ./gpt4all-HEAD-embeddings-model.patch + ./gpt4all-HEAD-disable-settings-err.patch + ]; }) [ "-Ofast"