diff --git a/config/ghostty/config b/config/ghostty/config deleted file mode 100644 index 231bf9a..0000000 --- a/config/ghostty/config +++ /dev/null @@ -1,9 +0,0 @@ -font-family = JetBrainsMono Nerd Font -theme = dark:Catppuccin Mocha,light:Catppuccin Latte -window-theme = ghostty -command = nu -background-blur = true -auto-update = check -macos-option-as-alt = left -shell-integration = nushell -shell-integration-features = ssh-env,ssh-terminfo diff --git a/home.nix b/home.nix index 41370b8..33d377e 100644 --- a/home.nix +++ b/home.nix @@ -98,6 +98,22 @@ path = "${config.home.homeDirectory}/.config/jj/config.toml"; }; + programs.ghostty = { + enable = true; + settings = { + font-family = "JetBrainsMono Nerd Font"; + theme = "dark:Catppuccin Mocha,light:Catppuccin Latte"; + window-theme = "ghostty"; + background-blur = true; + auto-update = "check"; + macos-option-as-alt = "left"; + shell-integration = "nushell"; + shell-integration-features = "ssh-env,ssh-terminfo"; + } // lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux { + command = "nu"; + }; + }; + fonts.fontconfig.enable = true; home.activation.cloneNvim = lib.hm.dag.entryAfter ["writeBoundary"] ''