From 3e4d3d1d2e9120dc9e2cbde22fa2d1095d227f38 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 15 Jun 2024 11:47:59 -0400 Subject: [PATCH] phone: Add kitty support with LIBGL_ALWAYS_SOFTWARE The PinePhone uses old enough hardware that newer OpenGL versions aren't supported, so software rendering must be used to make things work. --- phone/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/phone/configuration.nix b/phone/configuration.nix index 05cdca2f..4b8f3cbc 100644 --- a/phone/configuration.nix +++ b/phone/configuration.nix @@ -1,10 +1,15 @@ { pkgs, ... }: { + environment.sessionVariables = { + LIBGL_ALWAYS_SOFTWARE = true; + }; + environment.systemPackages = with pkgs; [ chatty gnome-console megapixels + kitty neovim fish yazi