diff --git a/home/default.nix b/home/default.nix index 97825b9..1a27515 100644 --- a/home/default.nix +++ b/home/default.nix @@ -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 diff --git a/home/programs/kitty.nix b/home/programs/kitty.nix new file mode 100644 index 0000000..2cb3078 --- /dev/null +++ b/home/programs/kitty.nix @@ -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"; + }; + }; +} \ No newline at end of file diff --git a/home/programs/shell.nix b/home/programs/shell.nix index be5989a..3f87e96 100644 --- a/home/programs/shell.nix +++ b/home/programs/shell.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, users, ... }: { programs.zsh = { @@ -23,9 +23,4 @@ } ]; }; - - home.packages = with pkgs; [ - fira-code-nerdfont - ]; - }