You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
1.7 KiB
Nix
68 lines
1.7 KiB
Nix
{ pkgs, ... }:
|
|
|
|
# TODO: Ghostty not building on my mac at the moment
|
|
let
|
|
ghostty-mock = pkgs.writeShellScriptBin "gostty-mock" ''
|
|
true
|
|
'';
|
|
in {
|
|
fonts.fontconfig.enable = true;
|
|
|
|
programs.halloy = {
|
|
enable = true;
|
|
settings = {
|
|
theme = "catppuccin-mocha";
|
|
|
|
servers.liberachat = {
|
|
nickname = "sw4n";
|
|
server = "irc.libera.chat";
|
|
nick_password_file = "/Users/dustinswan/.liberachat-nickserv-password";
|
|
channels = ["#halloy" "#haskell" "#nixos"];
|
|
};
|
|
};
|
|
};
|
|
|
|
programs.ghostty = {
|
|
enable = true;
|
|
installBatSyntax = false;
|
|
package = ghostty-mock;
|
|
|
|
settings = {
|
|
font-family = "Iosevka NFM";
|
|
font-size = 16;
|
|
font-thicken = true;
|
|
# theme = "dark:catppuccin-mocha,light:catppuccin-latte"; # TODO: waiting on all cli apps to handle auto switching too
|
|
theme = "catppuccin-mocha";
|
|
background-opacity = 0.95;
|
|
background-blur-radius = 15;
|
|
window-padding-x = 12;
|
|
window-padding-y = 8;
|
|
window-padding-balance = true;
|
|
macos-titlebar-style = "tabs";
|
|
macos-option-as-alt = "left";
|
|
copy-on-select = "clipboard";
|
|
# keybind = "global:cmd+grave_accent=toggle_quick_terminal";
|
|
};
|
|
};
|
|
|
|
programs.zed-editor = {
|
|
enable = true;
|
|
userSettings = {
|
|
vim_mode = true;
|
|
theme = {
|
|
mode = "system";
|
|
# light = "Catppuccin Latte";
|
|
# dark = "Catppuccin Frappé";
|
|
};
|
|
buffer_font_size = 16;
|
|
buffer_font_family = "Iosevka Nerd Font Mono";
|
|
# "ui_font_family": "Iosevka Nerd Font";
|
|
vim = {
|
|
enable_vim_sneak = true;
|
|
use_smartcase_find = true;
|
|
};
|
|
format_on_save = "off";
|
|
};
|
|
};
|
|
}
|