nichts/modules/gui/kitty.nix
2024-05-19 03:00:00 +02:00

27 lines
628 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.modules.programs.kitty;
username = 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";
};
};
};
};
}