setup nushell plugins

This commit is contained in:
Schrottkatze 2024-06-29 14:37:41 +02:00
parent ee901946e2
commit c64f321cc5
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc

View file

@ -22,10 +22,11 @@
package = config.users.defaultUserShell;
configFile.source = ../../other/config.nu;
envFile.source = ../../other/env.nu;
# extraConfig = ''
# source ${pkgs.nu_scripts}/share/nu_scripts/modules/nix/nix.nu;
# use ${pkgs.nu_scripts}/share/nu_scripts/modules/background_task/job.nu;
# '';
extraConfig = ''
plugin use ${pkgs.nushellPlugins.query}/bin/nu_plugin_query;
plugin use ${pkgs.nushellPlugins.polars}/bin/nu_plugin_polars;
plugin use ${pkgs.nushellPlugins.formats}/bin/nu_plugin_formats;
'';
};
programs.starship.enableNushellIntegration = true;
programs.carapace.enableNushellIntegration = true;