fli/eza.nix: init

This commit is contained in:
Charlie Root 2024-09-09 19:51:13 +02:00
commit 204d97da9d
5 changed files with 93 additions and 4 deletions

View file

@ -0,0 +1,25 @@
{
config,
lib,
pkgs,
...
}: let
inherit (config.modules.other.system) username;
inherit (lib) mkIf;
cfg = config.modules.system.programs.eza;
in {
config = mkIf cfg.enable {
home-manager.users.${username} = {
programs.eza = {
enable = true;
package = pkgs.eza;
git = true;
icons = true;
enableNushellIntegration = true;
enableBashIntegration = true;
enableFishIntegration = true;
enableZshIntegration = true;
};
};
};
}