mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
ghostty config
This commit is contained in:
parent
b47baa0473
commit
432bd906c7
6 changed files with 53 additions and 75 deletions
|
|
@ -1,31 +0,0 @@
|
|||
{pkgs, ...}: let
|
||||
catppuccin = pkgs.fetchFromGitHub {
|
||||
owner = "catppuccin";
|
||||
repo = "ghostty";
|
||||
rev = "61bed99612125e9873cadfd0857137cdd2568a21";
|
||||
hash = "sha256-GM/wKBUdgly7lKs8IiGKB7cBaUuE+GSubLgOMZNmsZ4=";
|
||||
};
|
||||
in {
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
|
||||
package =
|
||||
if pkgs.stdenv.isDarwin
|
||||
then pkgs.unstable.ghostty-bin
|
||||
else pkgs.unstable.ghostty;
|
||||
|
||||
settings = {
|
||||
theme = "dark:rose-pine,light:rose-pine-dawn";
|
||||
macos-option-as-alt = "left";
|
||||
|
||||
keybind = [
|
||||
"alt+left=unbind"
|
||||
"alt+right=unbind"
|
||||
"global:f12=toggle_quick_terminal"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
xdg.configFile."ghostty/themes/catppuccin-latte.conf".source = "${catppuccin}/themes/catppuccin-latte.conf";
|
||||
xdg.configFile."ghostty/themes/catppuccin-macchiato.conf".source = "${catppuccin}/themes/catppuccin-macchiato.conf";
|
||||
}
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./ghostty.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue