Home Gen506 @ 2025-05-03-01:41 by jonas@comfy-station
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
{pkgs, ...}: {
|
||||
programs.kitty = {
|
||||
shellIntegration.enableZshIntegration = true;
|
||||
font = {
|
||||
package = pkgs.fira-code-nerdfont;
|
||||
name = "Fira Code Nerd Font";
|
||||
size = 12;
|
||||
};
|
||||
themeFile = "Molokai";
|
||||
settings = {
|
||||
background_opacity = "0.6";
|
||||
enable_audio_bell = false;
|
||||
confirm_os_window_close = 0;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,29 @@
|
||||
{...}: {
|
||||
imports = [
|
||||
./config.nix
|
||||
./kitty.nix
|
||||
];
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.hive.kitty;
|
||||
in {
|
||||
options.hive.kitty = {
|
||||
enable = lib.mkEnableOption "Enable kitty terminal";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
shellIntegration.enableZshIntegration = true;
|
||||
font = {
|
||||
package = pkgs.fira-code-nerdfont;
|
||||
name = "Fira Code Nerd Font";
|
||||
size = 12;
|
||||
};
|
||||
themeFile = "Molokai";
|
||||
settings = {
|
||||
background_opacity = "0.6";
|
||||
enable_audio_bell = false;
|
||||
confirm_os_window_close = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
{...}: {
|
||||
programs.kitty.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user