summaryrefslogtreecommitdiff
path: root/features/user/cli/apps/zellij.nix
blob: 89427718726aea7037acd785f468b7980967a653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ config, lib, ... }: let
  cfg = config.features.cli.apps.zellij; 
in {
  options.features.cli.apps.zellij.enable = lib.mkEnableOption "zellij";
  config = lib.mkIf cfg.enable {
    programs.zellij = {
      enable = true;       
      settings = {
        pane_frames = true;
        ui.pane_frames.rounded_corners = true;
        simplified_ui = true;
        default_layout = "compact";
        hide_session_name = true;

        mouse_mode = false;

        on_force_close = "detach";
        session_serialization = true;
      };   
    };
  };
}