feat: add coding packages module (bruno, insomnia)
This commit is contained in:
21
home/base/secrets/cli-tools/eza.nix
Normal file
21
home/base/secrets/cli-tools/eza.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
# 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"];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user