diff --git a/home-manager/modules/nushell/default.nix b/home-manager/modules/nushell/default.nix index 0447620..fc68e8c 100644 --- a/home-manager/modules/nushell/default.nix +++ b/home-manager/modules/nushell/default.nix @@ -27,6 +27,8 @@ in ${config.programs.zoxide.package}/bin/zoxide init nushell ${zoxideOptions} | save --force ${config.xdg.cacheHome}/zoxide/init.nu # Temporary fix until zoxide releases new version sed -i 's/def-env/def --env/g' ${config.xdg.cacheHome}/zoxide/init.nu + + $env.NU_LIB_DIRS = ($env.NU_LIB_DIRS | append ${pkgs.nu_scripts}/share/nu_scripts) ''; extraConfig = '' alias vim = nvim @@ -40,7 +42,9 @@ in use kink.nu - use ${pkgs.nu_scripts}/share/nu_scripts/themes/nu-themes/dracula.nu + # use ${pkgs.nu_scripts}/share/nu_scripts/themes/nu-themes/dracula.nu + use themes/nu-themes/dracula.nu + $env.config = ($env.config | merge { color_config: (dracula)}) source ${config.xdg.cacheHome}/zoxide/init.nu