beginning of big refactoring

This commit is contained in:
Vali 2024-07-20 13:18:01 +02:00
commit e09e7277eb
68 changed files with 358 additions and 2818 deletions

View file

@ -1,26 +1,21 @@
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.modules.programs.kitty;
username = config.modules.other.system.username;
cfg = config.modules.system.programs.terminals.kitty;
inherit (config.modules.other.system) username;
in {
options.modules.programs.kitty.enable = mkEnableOption "kitty";
config = mkIf cfg.enable {
home-manager.users.${username} = {
programs.kitty = {
enable = true;
settings = {
# font_size = "13.0";
mouse_hide_wait = -1;
allow_remote_control = true;
url_style = "curly";
open_url_with = "default";
#background_opacity = "0.9";
confirm_os_window_close = "0";
};
};