move kitty to apps instead of cli-apps
This commit is contained in:
parent
48352469f2
commit
ba768687ae
3 changed files with 8 additions and 8 deletions
34
modules/home/apps/kitty/default.nix
Normal file
34
modules/home/apps/kitty/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue