den
 1{lib, ...}: {
 2  flake.modules.homeManager.terminal-ghostty = {osConfig, ...}: {
 3    programs.ghostty = {
 4      enable = true;
 5      enableBashIntegration = true;
 6      enableFishIntegration = true;
 7      settings = {
 8        # Common
 9        command = "fish";
10        copy-on-select = false;
11        window-inherit-working-directory = false;
12        tab-inherit-working-directory = true;
13        split-inherit-working-directory = true;
14
15        # Style
16        window-padding-x = 5;
17        window-padding-y = 5;
18        window-padding-balance = true;
19        window-height = 32;
20        window-width = 128;
21        window-new-tab-position = "current";
22        window-decoration = lib.mkIf osConfig.programs.niri.enable "none";
23      };
24    };
25  };
26}