diff --git a/homes/x86_64-linux/alejandro/default.nix b/homes/x86_64-linux/alejandro/default.nix index 797d7f2..9467fbd 100644 --- a/homes/x86_64-linux/alejandro/default.nix +++ b/homes/x86_64-linux/alejandro/default.nix @@ -14,6 +14,10 @@ tmux.enable = true; }; + programs = { + kitty.enable = true; + }; + tools = { direnv.enable = true; eza.enable = true; diff --git a/modules/home/programs/kitty/default.nix b/modules/home/programs/kitty/default.nix new file mode 100644 index 0000000..afb09c9 --- /dev/null +++ b/modules/home/programs/kitty/default.nix @@ -0,0 +1,29 @@ +{ + config, + lib, + pkgs, + namespace, + ... +}: let + inherit (lib) mkEnableOption mkIf; + + cfg = config.${namespace}.programs.kitty; +in { + options.${namespace}.programs.kitty = { + enable = mkEnableOption "kitty"; + }; + + config = mkIf cfg.enable { + programs.kitty = { + enable = true; + font = { + size = 12; + package = pkgs.nerdfonts.override {fonts = ["Hack"];}; + name = "Hack Nerd Font"; + }; + settings = { + background_opacity = "0.95"; + }; + }; + }; +}