summaryrefslogtreecommitdiff
path: root/home-manager/features/cli/apps/zellij.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/features/cli/apps/zellij.nix')
-rw-r--r--home-manager/features/cli/apps/zellij.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/home-manager/features/cli/apps/zellij.nix b/home-manager/features/cli/apps/zellij.nix
new file mode 100644
index 0000000..8942771
--- /dev/null
+++ b/home-manager/features/cli/apps/zellij.nix
@@ -0,0 +1,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;
+ };
+ };
+ };
+}