summaryrefslogtreecommitdiff
path: root/users/seth/programs/eza.nix
blob: 6280651ac2fc388c3f9892683dacd207ca0451df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  config,
  lib,
  ...
}: let
  cfg = config.seth.programs.eza;
in {
  options.seth.programs.eza = {
    enable = lib.mkEnableOption "eza configuration" // {default = config.seth.enable;};
  };

  config = lib.mkIf cfg.enable {
    programs.eza = {
      enable = true;
      icons = true;
    };
  };
}