install eza
This commit is contained in:
parent
19ad0e1223
commit
acf7c88934
2 changed files with 18 additions and 2 deletions
15
modules/software/tools/eza.nix
Normal file
15
modules/software/tools/eza.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.software.tools.eza;
|
||||
in {
|
||||
options.modules.software.tools.eza = {
|
||||
enable = mkEnableOption "Enable eza, a modern replacement for ls";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
hm.programs.eza.enable = true;
|
||||
hm.programs.eza.git = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue