2024-10-30 21:38:05 -07:00
|
|
|
{ pkgs, ... }:
|
2024-09-02 18:16:22 -07:00
|
|
|
{
|
2024-08-03 18:40:48 -07:00
|
|
|
programs.kitty = {
|
|
|
|
enable = true;
|
2024-10-30 21:38:05 -07:00
|
|
|
# themeFile = "rose-pine";
|
2024-08-03 18:40:48 -07:00
|
|
|
font.name = "CaskaydiaCove Nerd Font";
|
2024-10-08 12:07:30 -07:00
|
|
|
shellIntegration.enableFishIntegration = true;
|
|
|
|
shellIntegration.enableBashIntegration = true;
|
2024-08-03 18:40:48 -07:00
|
|
|
settings = {
|
|
|
|
font_size = 12;
|
|
|
|
window_padding_width = "8 8 0";
|
|
|
|
confirm_os_window_close = -1;
|
|
|
|
enable_audio_bell = "no";
|
2024-10-30 21:38:05 -07:00
|
|
|
background_opacity = pkgs.lib.mkForce "0.8";
|
2024-08-12 20:13:56 -07:00
|
|
|
allow_remote_control = "socket-only";
|
|
|
|
listen_on = "unix:/tmp/kitty";
|
2024-09-18 18:09:24 -07:00
|
|
|
scrollback_pager = ''nvim --noplugin -c "set signcolumn=no showtabline=0" -c "silent write! /tmp/kitty_scrollback_buffer | te cat /tmp/kitty_scrollback_buffer - "'';
|
2024-10-29 18:59:53 -07:00
|
|
|
cursor = "#c0caf5";
|
|
|
|
cursor_text_color = "#1a1b26";
|
2024-08-12 20:13:56 -07:00
|
|
|
};
|
|
|
|
keybindings = {
|
2024-08-21 16:48:17 -07:00
|
|
|
"kitty_mod+h" = "show_scrollback";
|
2024-08-03 18:40:48 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-09-18 02:31:21 -07:00
|
|
|
programs.neovide = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
font = {
|
2024-09-18 18:09:51 -07:00
|
|
|
normal = [ "CaskaydiaCove Nerd Font" ];
|
|
|
|
size = 13;
|
2024-09-18 02:31:21 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-08-25 23:34:41 -07:00
|
|
|
# programs.firefox = {
|
|
|
|
# enable = true;
|
|
|
|
# # package = pkgs.librewolf;
|
|
|
|
# profiles = {
|
|
|
|
# Personal = {
|
|
|
|
# name = "Youwen Wu";
|
|
|
|
# settings = {
|
|
|
|
# webgl.disabled = false;
|
|
|
|
# privacy.resistFingerprinting = false;
|
|
|
|
# privacy.clearOnShutdown.history = false;
|
|
|
|
# privacy.clearOnShutdown.cookies = false;
|
|
|
|
# network.cookie.lifetimePolicy = 0;
|
|
|
|
# search.default = "Google";
|
|
|
|
# search.force = true;
|
|
|
|
# search.engines = {
|
|
|
|
# "Nix Packages" = {
|
|
|
|
# urls = [
|
|
|
|
# {
|
|
|
|
# template = "https://search.nixos.org/packages";
|
|
|
|
# params = [
|
|
|
|
# {
|
|
|
|
# name = "type";
|
|
|
|
# value = "packages";
|
|
|
|
# }
|
|
|
|
# {
|
|
|
|
# name = "query";
|
|
|
|
# value = "{searchTerms}";
|
|
|
|
# }
|
|
|
|
# ];
|
|
|
|
# }
|
|
|
|
# ];
|
|
|
|
#
|
|
|
|
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
# definedAliases = ["@np"];
|
|
|
|
# };
|
|
|
|
#
|
|
|
|
# "NixOS Wiki" = {
|
|
|
|
# urls = [{template = "https://wiki.nixos.org/index.php?search={searchTerms}";}];
|
|
|
|
# iconUpdateURL = "https://wiki.nixos.org/favicon.png";
|
|
|
|
# updateInterval = 24 * 60 * 60 * 1000; # every day
|
|
|
|
# definedAliases = ["@nw"];
|
|
|
|
# };
|
|
|
|
#
|
|
|
|
# "Google" = {
|
|
|
|
# urls = [
|
|
|
|
# {
|
|
|
|
# template = "https://www.google.com/search";
|
|
|
|
# params = [
|
|
|
|
# {
|
|
|
|
# name = "q";
|
|
|
|
# value = "{searchTerms}";
|
|
|
|
# }
|
|
|
|
# {
|
|
|
|
# name = "udm";
|
|
|
|
# value = "14";
|
|
|
|
# }
|
|
|
|
# ];
|
|
|
|
# }
|
|
|
|
# ];
|
|
|
|
# definedAliases = ["@g"];
|
|
|
|
# };
|
|
|
|
# };
|
|
|
|
# };
|
|
|
|
# extensions = with inputs.firefox-addons.packages.${pkgs.system}; [
|
|
|
|
# ublock-origin
|
|
|
|
# bitwarden
|
|
|
|
# vimium
|
|
|
|
# tabliss
|
|
|
|
# privacy-badger
|
|
|
|
# reddit-enhancement-suite
|
|
|
|
# catppuccin
|
|
|
|
# ];
|
|
|
|
# };
|
|
|
|
# };
|
|
|
|
# };
|
2024-08-03 18:40:48 -07:00
|
|
|
}
|