move kitty to apps instead of cli-apps

This commit is contained in:
Christoph Hollizeck 2024-03-27 13:25:57 +01:00
parent 48352469f2
commit ba768687ae
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
3 changed files with 8 additions and 8 deletions

View file

@ -0,0 +1,34 @@
{
lib,
config,
pkgs,
...
}:
with lib;
with lib.wyrdgard; let
cfg = config.wyrdgard.apps.kitty;
in {
options.wyrdgard.apps.kitty = {
enable = mkEnableOption "Kity";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
kitty
];
programs.kitty = {
enable = true;
theme = "Tokyo Night";
font = {
name = "Code New Roman";
size = 15;
};
shellIntegration.enableFishIntegration = true;
settings = {
"background_opacity" = "0.95";
"shell" = "fish";
};
};
};
}