- All base/* modules now use (mkEnableOption "...") // { default = true; }
so they activate automatically when imported — no explicit .enable = true
required in host configs
- packages.nix: add comment documenting that lazylib does not exist in
nixpkgs; lazygit is the correct and intended package
- zellij-ps.nix: clarify that cli.zellij-ps namespace is intentional —
it is the home-manager module convention from m3ta-nixpkgs
- nix flake check passes (warnings are pre-existing)
22 lines
547 B
Nix
22 lines
547 B
Nix
# Carapace — multi-shell completion engine with Fish, Nushell, and Bash integration.
|
|
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.base.cliTools.carapace;
|
|
in {
|
|
# Enabled by default — base modules are always-on.
|
|
options.base.cliTools.carapace.enable = (mkEnableOption "enable carapace completion engine") // {default = true;};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.carapace = {
|
|
enable = true;
|
|
enableFishIntegration = true;
|
|
enableNushellIntegration = true;
|
|
enableBashIntegration = true;
|
|
};
|
|
};
|
|
}
|