feat: make options and conditionalize config

This commit is contained in:
2026-01-27 15:05:45 +01:00
parent 9642bae67d
commit 39da2abe9c
10 changed files with 196 additions and 125 deletions
+18 -11
View File
@@ -1,15 +1,22 @@
{ pkgs, ... }:
{
programs.kitty = {
enable = true;
themeFile = "tokyo_night_night";
font = {
package = pkgs.nerd-fonts.jetbrains-mono;
name = "JetBrainsMono NF";
size = 14;
};
keybindings = {
"ctrl+alt+enter" = "launch --cwd=current";
config,
lib,
pkgs,
...
}:
{
config = lib.mkIf config.kekleo.graphical {
programs.kitty = {
enable = true;
themeFile = "tokyo_night_night";
font = {
package = pkgs.nerd-fonts.jetbrains-mono;
name = "JetBrainsMono NF";
size = 14;
};
keybindings = {
"ctrl+alt+enter" = "launch --cwd=current";
};
};
};
}