32 lines
491 B
Nix
32 lines
491 B
Nix
{
|
|
config,
|
|
lib,
|
|
inputs,
|
|
pkgs,
|
|
home,
|
|
system,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.modules.kitty;
|
|
in
|
|
{
|
|
options.modules.kitty = {
|
|
enable = lib.mkEnableOption "kitty configuration module";
|
|
};
|
|
config = lib.mkIf cfg.enable {
|
|
programs.kitty = {
|
|
enable = true;
|
|
font = {
|
|
name = "Google Sans Code Nerd Font";
|
|
size = 11;
|
|
};
|
|
};
|
|
wayland.windowManager.hyprland.settings = {
|
|
bind = [
|
|
"$mainMod, q, exec, kitty"
|
|
];
|
|
};
|
|
};
|
|
}
|