cli/zoxide.nix: init

This commit is contained in:
Charlie Root 2024-09-09 19:51:51 +02:00
commit 02583bc211

View file

@ -0,0 +1,24 @@
{
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;
};
};
};
}