dotfiles/home/profiles/xsession/terminal.nix

33 lines
638 B
Nix

{ pkgs, config, lib, ...}:
{
config = lib.mkIf config.profiles.xsession.enable {
home.file.kitty = {
target = ".config/kitty/kitty.conf";
text = ''
#term xterm-256color
font_family MesloLGS NF
font_size 12.0
background_opacity 0.7
clear_all_shortcuts yes
map ctrl+shift+c copy_to_clipboard
map ctrl+shift+v paste_from_clipboard
map ctrl+plus change_font_size all +2.0
map ctrl+shift+plus change_font_size all -2.0
'';
};
home.packages = [
pkgs.kitty
pkgs.ncurses.dev
];
};
}