Added exa config
Updated lockfile to use an updated version of the exa module in home-manager.
This commit is contained in:
parent
b640dbdbce
commit
2c18824cea
4 changed files with 39 additions and 13 deletions
25
modules/tools/exa/default.nix
Normal file
25
modules/tools/exa/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.aa.tools.exa;
|
||||
in {
|
||||
options.aa.tools.exa = with types; {
|
||||
enable = mkEnableOption "exa";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
aa.home.extraOptions = {
|
||||
programs.exa = {
|
||||
enable = true;
|
||||
icons = true;
|
||||
git = true;
|
||||
enableAliases = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -29,7 +29,7 @@ in {
|
|||
bindkey '^E' end-of-line
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
alias view="vim -R $1"
|
||||
alias ls=lsd
|
||||
# alias ls=lsd
|
||||
alias l='ls -la'
|
||||
'';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue