Revert "fix(ghostty): add cairo wrapper and make it the default terminal"

This reverts commit 2e58a2d4ad.
This commit is contained in:
randogoth 2026-02-04 21:55:34 +02:00
parent 2e58a2d4ad
commit a59facdb0a
5 changed files with 8 additions and 17 deletions

View file

@ -1,11 +1,5 @@
{ lib, pkgs, ... }:
let
ghosttyCairo = pkgs.writeShellScriptBin "ghostty-cairo" ''
export GSK_RENDERER=cairo
exec ghostty "$@"
'';
in
{
# Baseline system tools available everywhere; users run Home Manager standalone.
config.environment.systemPackages = lib.mkAfter [
@ -17,7 +11,6 @@ in
pkgs.fastfetch
pkgs.flatpak
pkgs.ghostty
ghosttyCairo
pkgs.git
pkgs.home-manager
pkgs.just

View file

@ -24,11 +24,9 @@ in
];
# Use Ghostty as the default terminal emulator.
# On some machines Ghostty may fail to acquire an OpenGL context; `ghostty-cairo`
# forces GTK4's Cairo renderer (CPU) and is more hardware-agnostic.
environment.sessionVariables = {
TERMINAL = "ghostty-cairo";
DEFAULT_TERMINAL = "ghostty-cairo";
TERMINAL = "${pkgs.ghostty}/bin/ghostty";
DEFAULT_TERMINAL = "${pkgs.ghostty}/bin/ghostty";
};
programs.bash = {