Skip to content

Commit

Permalink
feat(shell): Try out zellij
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Feb 2, 2024
1 parent 5f78368 commit d9911ce
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hosts/meshify/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
git.enable = true;
gnupg.enable = true;
pass.enable = true;
tmux.enable = true;
yubikey.enable = true;
zellij.enable = true;
zsh.enable = true;
};

Expand Down
22 changes: 22 additions & 0 deletions modules/shell/zellij.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
config,
options,
pkgs,
lib,
...
}:
with lib;
with lib.my; let
cfg = config.modules.shell.zellij;
in {
options.modules.shell.zellij = with types; {
enable = mkBoolOpt false;
};

config = mkIf cfg.enable {
home-manager.users.${config.user.name}.programs.zellij = {
enable = true;
enableZshIntegration = true;
};
};
}

0 comments on commit d9911ce

Please sign in to comment.