mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
26 lines
644 B
Nix
26 lines
644 B
Nix
{ config, lib, pkgs, user, inputs, home-manager, ... }:
|
|
|
|
let cfg = config.modules.programs.kitty;
|
|
in {
|
|
options.modules.programs.kitty.enable = lib.mkEnableOption "kitty";
|
|
config = lib.mkIf cfg.enable {
|
|
home-manager.users.${user} = {
|
|
home.packages = with pkgs; [
|
|
nerdfonts
|
|
];
|
|
|
|
programs.kitty = {
|
|
enable = true;
|
|
theme = "Gruvbox Dark";
|
|
font.name = "JetBrainsMono Nerd Font";
|
|
shellIntegration.mode = "no-cursor";
|
|
settings = {
|
|
disable_ligatures = "never";
|
|
cursor_shape = "block";
|
|
linux_display_server = "x11";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|