fix(ghostty): add cairo wrapper and make it the default terminal
This commit is contained in:
parent
987aee1c5b
commit
2e58a2d4ad
5 changed files with 17 additions and 8 deletions
|
|
@ -24,9 +24,11 @@ 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 = "${pkgs.ghostty}/bin/ghostty";
|
||||
DEFAULT_TERMINAL = "${pkgs.ghostty}/bin/ghostty";
|
||||
TERMINAL = "ghostty-cairo";
|
||||
DEFAULT_TERMINAL = "ghostty-cairo";
|
||||
};
|
||||
|
||||
programs.bash = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue