From 910783f3093e2cdb717a64f4695d0f9dacc6869f Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 21 Aug 2021 19:06:26 +0000 Subject: [PATCH] [NixOS] Set LIBGL_ALWAYS_SOFTWARE=1 for raspberry pi --- nixos/raspberry-pi.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/raspberry-pi.nix b/nixos/raspberry-pi.nix index e34803e2..4af2ae7a 100644 --- a/nixos/raspberry-pi.nix +++ b/nixos/raspberry-pi.nix @@ -43,6 +43,13 @@ raspberrypi-eeprom ]; + environment = { + # This allows alacritty to run + extraInit = '' + export LIBGL_ALWAYS_SOFTWARE=1 + ''; + }; + nix = { autoOptimiseStore = true; gc = {