nichts/modules/programs/cli/zoxide.nix

25 lines
487 B
Nix
Raw Normal View History

2024-09-09 19:51:51 +02:00
{
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.zoxide = {
enable = true;
package = pkgs.zoxide;
enableNushellIntegration = true;
enableBashIntegration = true;
enableFishIntegration = true;
enableZshIntegration = true;
};
};
};
}