Add kitty

This commit is contained in:
Florian RICHER 2024-05-05 19:55:22 +02:00
parent 900fd07399
commit 4d24fae830
3 changed files with 24 additions and 6 deletions

View file

@ -7,6 +7,7 @@
./programs/git.nix
# ./programs/emacs.nix
./programs/jetbrains-toolbox.nix
./programs/kitty.nix
./programs/vscode.nix
./programs/direnv.nix
./programs/chromium.nix

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

@ -0,0 +1,22 @@
{ config, pkgs, ... }:
{
programs.kitty = {
enable = true;
font = {
name = "FiraCode Nerd Font";
package = pkgs.fira-code-nerdfont;
};
settings = {
shell = "zsh";
disable_ligatures = "never";
sync_to_monitor = "yes"; # Avoid to update a lot
confirm_os_window_close = 0; # Disable close confirmation
background_opacity = "0.7";
background_blur = "1";
};
};
}

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, users, ... }:
{
programs.zsh = {
@ -23,9 +23,4 @@
}
];
};
home.packages = with pkgs; [
fira-code-nerdfont
];
}