Refactor terminal configurations to streamline shell execution

- Updated Hyprland&Niri keybinds to remove explicit shell invocation for kitty
This commit is contained in:
2026-06-07 16:38:21 -03:00
parent 3ca626dffe
commit 73401750a0
3 changed files with 11 additions and 3 deletions
+9 -1
View File
@@ -1,9 +1,16 @@
{ ... }: {
flake.homeManagerModules.wisdomTerminalsKitty =
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
let
root = config.chiasson.home;
cfg = config.chiasson.home.terminals.kitty;
kittyShellExe =
if config.programs.fish.enable or false then
lib.getExe config.programs.fish.package
else if config.programs.bash.enable or false then
lib.getExe config.programs.bash.package
else
"${pkgs.bash}/bin/bash";
in
{
options.chiasson.home.terminals.kitty.enable = lib.mkEnableOption ''
@@ -14,6 +21,7 @@
programs.kitty = {
enable = true;
extraConfig = ''
shell ${kittyShellExe}
include dank-tabs.conf
include dank-theme.conf
allow_remote_control yes