mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 17:58:30 +02:00
feat: add terminal - kitty
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
./neovim
|
./neovim
|
||||||
|
|
||||||
./development.nix
|
./development.nix
|
||||||
|
./kitty.nix
|
||||||
./media.nix
|
./media.nix
|
||||||
./shell.nix
|
./shell.nix
|
||||||
];
|
];
|
||||||
|
|||||||
17
home/base/desktop/kitty.nix
Normal file
17
home/base/desktop/kitty.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{ ... }: {
|
||||||
|
programs.kitty = {
|
||||||
|
enable = true;
|
||||||
|
theme = "Catppuccin-Mocha";
|
||||||
|
# darwinLaunchOptions = {};
|
||||||
|
font = {
|
||||||
|
name = " JetBrainsMono Nerd Font";
|
||||||
|
};
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
background_opacity = "0.92";
|
||||||
|
macos_option_as_alt = true; # Option key acts as Alt on macOS
|
||||||
|
scrollback_lines = 10000;
|
||||||
|
enable_audio_bell = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
ffmpeg-full
|
ffmpeg-full
|
||||||
|
|
||||||
# images
|
# images
|
||||||
viu # terminal image viewer
|
viu # Terminal image viewer with native support for iTerm and Kitty
|
||||||
imagemagick
|
imagemagick
|
||||||
graphviz
|
graphviz
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -92,6 +92,14 @@ return {
|
|||||||
{"nvim-treesitter/nvim-treesitter"}
|
{"nvim-treesitter/nvim-treesitter"}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'edluffy/hologram.nvim',
|
||||||
|
config = function()
|
||||||
|
require('hologram').setup({
|
||||||
|
auto_display = true -- WIP automatic markdown image display, may be prone to breaking
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
-- Language Parser for syntax highlighting / indentation / folding / Incremental selection
|
-- Language Parser for syntax highlighting / indentation / folding / Incremental selection
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
|||||||
Reference in New Issue
Block a user