2024-12-07 17:52:59 -08:00
|
|
|
{ pkgs, inputs, ... }:
|
|
|
|
let
|
|
|
|
# mkFirefoxModule = inputs.home-manager.mkFirefoxModule;
|
|
|
|
mkFirefoxModule = import "${inputs.home-manager}/modules/programs/firefox/mkFirefoxModule.nix";
|
|
|
|
in
|
2024-09-02 18:16:22 -07:00
|
|
|
{
|
2024-12-07 17:52:59 -08:00
|
|
|
|
|
|
|
imports = [
|
|
|
|
(mkFirefoxModule {
|
|
|
|
modulePath = [
|
|
|
|
"programs"
|
|
|
|
"zen"
|
|
|
|
];
|
|
|
|
name = "Zen";
|
|
|
|
wrappedPackageName = "zen-browser";
|
|
|
|
unwrappedPackageName = "zen-browser-unwrapped";
|
|
|
|
visible = true;
|
|
|
|
|
|
|
|
platforms.linux = {
|
|
|
|
configPath = ".zen";
|
|
|
|
vendorPath = ".zen";
|
|
|
|
};
|
|
|
|
# platforms.darwin = {
|
|
|
|
# configPath = "Library/Application Support/Floorp";
|
|
|
|
# };
|
|
|
|
})
|
|
|
|
];
|
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;
|
2024-11-01 14:13:00 -07:00
|
|
|
window_padding_width = "8 8";
|
2024-08-03 18:40:48 -07:00
|
|
|
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-10-31 11:37:32 -07:00
|
|
|
allow_remote_control = "yes";
|
2024-08-12 20:13:56 -07:00
|
|
|
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-31 01:09:48 -07:00
|
|
|
cursor = pkgs.lib.mkForce "#c0caf5";
|
|
|
|
cursor_text_color = pkgs.lib.mkForce "#1a1b26";
|
2024-11-11 14:36:48 -08:00
|
|
|
cursor_trail = 3;
|
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 = {
|
2024-11-19 01:15:28 -08:00
|
|
|
enable = false;
|
2024-09-18 02:31:21 -07:00
|
|
|
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-11-08 20:57:45 -08:00
|
|
|
xdg.mimeApps = {
|
|
|
|
enable = true;
|
|
|
|
defaultApplications = {
|
|
|
|
"text/html" = [ "zen.desktop" ];
|
|
|
|
"x-scheme-handler/http" = [ "zen.desktop" ];
|
|
|
|
"x-scheme-handler/https" = [ "zen.desktop" ];
|
|
|
|
"x-scheme-handler/about" = [ "zen.desktop" ];
|
|
|
|
"x-scheme-handler/unknown" = [ "zen.desktop" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-12-07 17:52:59 -08:00
|
|
|
programs.zen = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2024-08-03 18:40:48 -07:00
|
|
|
}
|