Move kitty into it's own module

This commit is contained in:
SebastianStork 2024-03-15 09:43:26 +01:00
parent bb1a8c5b44
commit 4c0396f7d2
3 changed files with 24 additions and 12 deletions

View file

@ -7,5 +7,6 @@
./ssh-client.nix ./ssh-client.nix
./git.nix ./git.nix
./neovim.nix ./neovim.nix
./kitty.nix
]; ];
} }

22
modules/home/kitty.nix Normal file
View file

@ -0,0 +1,22 @@
{
config,
lib,
...
}: {
options.myConfig.kitty.enable = lib.mkEnableOption "";
config = lib.mkIf config.myConfig.kitty.enable {
programs.kitty = {
enable = true;
settings = {
font_family = "JetBrainsMono Nerd Font";
confirm_os_window_close = 0;
background_opacity = "0.7";
scrollback_lines = 10000;
enable_audio_bell = false;
update_check_interval = 0;
};
};
};
}

View file

@ -13,18 +13,7 @@
ssh-client.enable = true; ssh-client.enable = true;
git.enable = true; git.enable = true;
neovim.enable = true; neovim.enable = true;
}; kitty.enable = true;
programs.kitty = {
enable = true;
settings = {
font_family = "JetBrainsMono Nerd Font";
confirm_os_window_close = 0;
background_opacity = "0.7";
scrollback_lines = 10000;
enable_audio_bell = false;
update_check_interval = 0;
};
}; };
services.clipmenu = { services.clipmenu = {