diff --git a/modules/programs/exa.nix b/modules/programs/exa.nix index a7dfeb2b..a1b4a271 100644 --- a/modules/programs/exa.nix +++ b/modules/programs/exa.nix @@ -20,11 +20,14 @@ in { options.programs.exa = { enable = mkEnableOption "exa, a modern replacement for ls"; + enableAliases = mkEnableOption "recommended exa aliases"; + + package = mkPackageOption pkgs "exa" { }; }; config = mkIf cfg.enable { - home.packages = [ pkgs.exa ]; + home.packages = [ cfg.package ]; programs.bash.shellAliases = mkIf cfg.enableAliases aliases;