initial start of zellij

This commit is contained in:
Chris Kruining 2025-06-14 21:48:16 +02:00
parent 0397d02586
commit ba9dedd515
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ config, lib, pkgs, user, ... }:
let
inherit (lib.modules) mkIf;
inherit (lib.options) mkEnableOption;
in
{
options.modules.${user}.shell.toolset.zellij = {
enable = mkEnableOption "terminal multiplexer";
};
config = mkIf config.modules.${user}.shell.toolset.zellij.enable {
home-manager.users.${user} = {
home.packages = with pkgs; [ zellij ];
programs.zellij = {
enable = true;
attachExistingSession = true;
settings = {};
};
};
};
}

View file

@ -35,6 +35,7 @@ in
programs = {
starship.enableZshIntegration = true;
yazi.enableZshIntegration = true;
zellij.enableZshIntegration = true;
zsh = {
enable = true;