- Add individual modules for: bat, carapace, direnv, eza, fzf, lf, nitch, television, zellij, zellij-ps, zoxide - Centralize in home/base/cli-tools/ with default.nix aggregator - Simplify home/base/packages by removing extracted tools
28 lines
671 B
Nix
28 lines
671 B
Nix
# Zellij-ps — project-aware Zellij session manager from m3ta-nixpkgs.
|
|
# Delegates to the cli.zellij-ps module provided by inputs.m3ta-nixpkgs.
|
|
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.base.cliTools.zellijPs;
|
|
in {
|
|
options.base.cliTools.zellijPs = {
|
|
enable = mkEnableOption "enable zellij-ps project session manager";
|
|
|
|
projectFolders = mkOption {
|
|
type = types.listOf types.path;
|
|
description = "Project root folders scanned by zellij-ps.";
|
|
default = ["${config.home.homeDirectory}/p"];
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
cli.zellij-ps = {
|
|
enable = true;
|
|
projectFolders = cfg.projectFolders;
|
|
};
|
|
};
|
|
}
|