move kitty to apps instead of cli-apps

This commit is contained in:
Christoph Hollizeck 2024-03-27 13:25:57 +01:00
parent 905d40e2ba
commit 93c0ce5e19
3 changed files with 8 additions and 8 deletions

View file

@ -2,14 +2,15 @@
lib,
config,
...
}: let
inherit (lib) mkEnableOption mkIf;
inherit (lib.wyrdgard) enabled;
}:
with lib;
with lib.wyrdgard;
let
cfg = config.wyrdgard.apps.cli-apps.home-manager;
in {
options.wyrdgard.apps.cli-apps.home-manager = {
enable = mkEnableOption "home-manager";
enable = mkBoolOpt true "Enable home-manager";
};
config = mkIf cfg.enable {

View file

@ -1,34 +0,0 @@
{
lib,
config,
pkgs,
...
}:
with lib;
with lib.wyrdgard; let
cfg = config.wyrdgard.apps.cli-apps.kitty;
in {
options.wyrdgard.apps.cli-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";
};
};
};
}