Added exa config

Updated lockfile to use an updated version of the exa module in
home-manager.
This commit is contained in:
Alejandro Angulo 2023-03-19 09:40:46 -07:00
parent b640dbdbce
commit 2c18824cea
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
4 changed files with 39 additions and 13 deletions

View file

@ -57,11 +57,11 @@
"utils": "utils" "utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1675935446, "lastModified": 1679067095,
"narHash": "sha256-WajulTn7QdwC7QuXRBavrANuIXE5z+08EdxdRw1qsNs=", "narHash": "sha256-G2dJQURL/CCi+8RP6jNJG8VqgtzEMCA+6mNodd3VR6E=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "2dce7f1a55e785a22d61668516df62899278c9e4", "rev": "3239e0b40f242f47bf6c0c37b2fd35ab3e76e370",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -94,11 +94,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1677928408, "lastModified": 1678351966,
"narHash": "sha256-Rus3DPKieGuG4UHdMCCFpKdH8Z2TrobciBLHr4FDAzM=", "narHash": "sha256-tRFEU0lu3imZb3dtELBY+UbEhWXbb0xlBrsIlpICb+A=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixos-generators", "repo": "nixos-generators",
"rev": "46158ecda28c81b9150f75c8bce8821d375c1230", "rev": "0c043999b16caba6fb571af2d228775729829943",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -109,11 +109,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1676202775, "lastModified": 1679081381,
"narHash": "sha256-gV/RnfVZkGLHn+5rmX2GSh5aquVHpWOJw1cnpEV03tQ=", "narHash": "sha256-n4+SbrVohxbgbmOTkodfxc3d8W38OfKowD6YNA8j27o=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d917136f550a8c36efb1724390c7245105f79023", "rev": "b573a7f69484a7d213680abb70b4f95bdc28eee5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -155,11 +155,11 @@
}, },
"utils": { "utils": {
"locked": { "locked": {
"lastModified": 1667395993, "lastModified": 1676283394,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", "narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", "rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073",
"type": "github" "type": "github"
}, },
"original": { "original": {

View 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;
};
};
};
}

View file

@ -29,7 +29,7 @@ in {
bindkey '^E' end-of-line bindkey '^E' end-of-line
bindkey '^R' history-incremental-search-backward bindkey '^R' history-incremental-search-backward
alias view="vim -R $1" alias view="vim -R $1"
alias ls=lsd # alias ls=lsd
alias l='ls -la' alias l='ls -la'
''; '';

View file

@ -20,6 +20,7 @@ with lib; {
suites.desktop.enable = true; suites.desktop.enable = true;
tools.git.enable = true; tools.git.enable = true;
tools.zsh.enable = true; tools.zsh.enable = true;
tools.exa.enable = true;
apps.neovim.enable = true; apps.neovim.enable = true;
apps.tmux.enable = true; apps.tmux.enable = true;
}; };