Move modules in programs/services subfolders

This commit is contained in:
SebastianStork 2025-05-28 11:33:05 +02:00
parent 2ff87c8404
commit 211ca98e92
38 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{
config,
pkgs,
lib,
...
}:
{
options.custom.programs.kitty.enable = lib.mkEnableOption "";
config = lib.mkIf config.custom.programs.kitty.enable {
programs.kitty = {
enable = true;
settings =
let
theme-name =
{
dark = "default";
light = "GitHub_Light";
}
.${config.custom.theme};
in
{
include = "${pkgs.kitty-themes}/share/kitty-themes/themes/${theme-name}.conf";
font_family = "JetBrainsMono Nerd Font";
background_opacity = "0.85";
cursor_shape = "beam";
confirm_os_window_close = 0;
enable_audio_bell = "no";
update_check_interval = 0;
};
};
home.shellAliases.ssh = "kitten ssh";
};
}