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

This commit is contained in:
randogoth 2026-02-04 21:51:25 +02:00
parent 987aee1c5b
commit 2e58a2d4ad
5 changed files with 17 additions and 8 deletions

View file

@ -1,5 +1,11 @@
{ 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 [
@ -11,6 +17,7 @@
pkgs.fastfetch
pkgs.flatpak
pkgs.ghostty
ghosttyCairo
pkgs.git
pkgs.home-manager
pkgs.just