move home-manager config to subdirectory
This commit is contained in:
32
home/profiles/xsession/terminal.nix
Normal file
32
home/profiles/xsession/terminal.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user