diff --git a/modules/shell/nu.nix b/modules/shell/nu.nix index 88cf0d6..dbf1df8 100644 --- a/modules/shell/nu.nix +++ b/modules/shell/nu.nix @@ -11,11 +11,6 @@ }; home.packages = [ pkgs.pueue - pkgs.nushellPlugins.net - pkgs.nushellPlugins.query - pkgs.nushellPlugins.gstat - pkgs.nushellPlugins.polars - pkgs.nushellPlugins.formats ]; programs.nushell = { enable = true; @@ -23,9 +18,13 @@ configFile.source = ../../other/config.nu; envFile.source = ../../other/env.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; + plugin add ${pkgs.nushellPlugins.query}/bin/nu_plugin_query; + plugin add ${pkgs.nushellPlugins.polars}/bin/nu_plugin_polars; + plugin add ${pkgs.nushellPlugins.formats}/bin/nu_plugin_formats; + + plugin use query; + plugin use polars; + plugin use formats; ''; }; programs.starship.enableNushellIntegration = true;