|
@@ -1,5 +1,6 @@
|
|
|
{ config
|
|
{ config
|
|
|
, lib
|
|
, lib
|
|
|
|
|
+, isDarwin
|
|
|
, ...
|
|
, ...
|
|
|
}:
|
|
}:
|
|
|
{
|
|
{
|
|
@@ -7,6 +8,8 @@
|
|
|
enable = true;
|
|
enable = true;
|
|
|
# Ghostty is a terminal emulator for macOS, it is not available in Nixpkgs
|
|
# Ghostty is a terminal emulator for macOS, it is not available in Nixpkgs
|
|
|
# TODO: https://github.com/NixOS/nixpkgs/blob/76efb9f313b326ed24dfae33ff0496a6df370e5a/pkgs/by-name/gh/ghostty/package.nix#L192
|
|
# TODO: https://github.com/NixOS/nixpkgs/blob/76efb9f313b326ed24dfae33ff0496a6df370e5a/pkgs/by-name/gh/ghostty/package.nix#L192
|
|
|
|
|
+ # TODO: error(gtk_surface): surface failed to realize: Failed to create EGL display
|
|
|
|
|
+ # Segmentation fault (core dumped)
|
|
|
package = null; # installed via brew cask
|
|
package = null; # installed via brew cask
|
|
|
|
|
|
|
|
installBatSyntax = false;
|
|
installBatSyntax = false;
|
|
@@ -19,7 +22,7 @@
|
|
|
|
|
|
|
|
background-opacity = 0.8;
|
|
background-opacity = 0.8;
|
|
|
font-family = "FiraCode Nerd Font";
|
|
font-family = "FiraCode Nerd Font";
|
|
|
- font-size = 16.0;
|
|
|
|
|
|
|
+ font-size = if isDarwin then 16.0 else 10.0;
|
|
|
|
|
|
|
|
macos-titlebar-style = "hidden";
|
|
macos-titlebar-style = "hidden";
|
|
|
theme = "Kanagawa Dragon";
|
|
theme = "Kanagawa Dragon";
|