Converted eza from nixosModule to homeModule
Also included some fixes for issues introduced in last commit.
This commit is contained in:
parent
e58196dcc8
commit
2c22aedcf0
6 changed files with 26 additions and 34 deletions
|
@ -1,22 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.aa.tools.eza;
|
||||
in {
|
||||
options.aa.tools.eza = with types; {
|
||||
enable = mkEnableOption "eza";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
aa.home.extraOptions = {
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
icons = true;
|
||||
git = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue