- 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
541 B
Nix
22 lines
541 B
Nix
# Eza — modern ls replacement with icons, git status, and long format by default.
|
|
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.base.cliTools.eza;
|
|
in {
|
|
# Enabled by default — base modules are always-on.
|
|
options.base.cliTools.eza.enable = (mkEnableOption "enable eza modern ls replacement") // {default = true;};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.eza = {
|
|
enable = true;
|
|
enableFishIntegration = true;
|
|
enableBashIntegration = true;
|
|
extraOptions = ["-l" "--icons" "--git" "-a"];
|
|
};
|
|
};
|
|
}
|