2023-11-26 21:26:49 +01:00
|
|
|
{config, ...}: {
|
|
|
|
home-manager.users.jade = {pkgs, ...}: {
|
2023-12-08 08:38:39 +01:00
|
|
|
# Needed for nu_scripts background_task
|
|
|
|
services.pueue = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
shared = {
|
|
|
|
use_unix_socket = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-12-08 11:49:22 +01:00
|
|
|
home.packages = [
|
|
|
|
pkgs.pueue
|
2024-06-12 13:26:34 +02:00
|
|
|
pkgs.nushellPlugins.net
|
|
|
|
pkgs.nushellPlugins.query
|
|
|
|
pkgs.nushellPlugins.gstat
|
|
|
|
pkgs.nushellPlugins.polars
|
|
|
|
pkgs.nushellPlugins.formats
|
2023-12-08 11:49:22 +01:00
|
|
|
];
|
2023-11-14 12:22:19 +01:00
|
|
|
programs.nushell = {
|
|
|
|
enable = true;
|
|
|
|
package = config.users.defaultUserShell;
|
|
|
|
configFile.source = ../../other/config.nu;
|
|
|
|
envFile.source = ../../other/env.nu;
|
2024-06-29 14:37:41 +02:00
|
|
|
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;
|
|
|
|
'';
|
2023-11-14 12:22:19 +01:00
|
|
|
};
|
|
|
|
programs.starship.enableNushellIntegration = true;
|
2023-11-26 21:26:49 +01:00
|
|
|
programs.carapace.enableNushellIntegration = true;
|
2023-11-14 12:22:19 +01:00
|
|
|
programs.direnv.enableNushellIntegration = true;
|
|
|
|
};
|
|
|
|
}
|