ark/users/modules/zoxide/default.nix
2022-07-01 04:45:26 +03:00

15 lines
275 B
Nix

{
pkgs,
config,
lib,
...
}: {
home.packages = [pkgs.zoxide];
home.persistence."${config.system.persistDir}${config.home.homeDirectory}".directories =
lib.singleton
".local/share/zoxide";
programs.zsh.initExtra = ''
eval "$(zoxide init zsh)"
'';
}