Skip to content

Commit 7f5d6e0

Browse files
committed
Use Ghostty from Nix
1 parent 625f65d commit 7f5d6e0

File tree

4 files changed

+20
-19
lines changed

4 files changed

+20
-19
lines changed

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/overlays/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
};
1111
in {
1212
nixpkgs-master-darwin-linux-builder = nixpkgs-master.darwin.linux-builder;
13+
14+
inherit (nixpkgs-master) ghostty-bin;
1315
};
1416
};
1517
}

modules/profiles/home/ghostty.nix

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
{
2-
programs.fish.shellInit = ''
3-
if set -q GHOSTTY_RESOURCES_DIR
4-
source "$GHOSTTY_RESOURCES_DIR/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish"
5-
end
6-
'';
7-
8-
xdg.configFile."ghostty/config".text = ''
9-
adjust-cell-height = 10
10-
cursor-style = bar
11-
font-family = PragmataPro Mono Liga
12-
font-size = 16
13-
theme = nord
14-
window-padding-x = 8
15-
'';
1+
{ pkgs, ... }: {
2+
programs.ghostty = {
3+
enable = true;
4+
enableFishIntegration = true;
5+
package = pkgs.ghostty-bin;
6+
settings = {
7+
adjust-cell-height = 10;
8+
cursor-style = "bar";
9+
font-family = "PragmataPro Mono Liga";
10+
font-size = 16;
11+
theme = "nord";
12+
window-padding-x = 8;
13+
};
14+
};
1615
}

modules/profiles/system/darwin/brew.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"docker-desktop"
1919
"elgato-stream-deck"
2020
"emacs-mac-spacemacs-icon"
21-
"ghostty"
21+
# "ghostty"
2222
"fantastical"
2323
"firefox"
2424
"istat-menus"

0 commit comments

Comments
 (0)