2023-11-26 20:26:49 +00:00
|
|
|
{config, ...}: {
|
|
|
|
home-manager.users.jade = {pkgs, ...}: {
|
2023-12-08 07:38:39 +00:00
|
|
|
# Needed for nu_scripts background_task
|
|
|
|
services.pueue = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
shared = {
|
|
|
|
use_unix_socket = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-12-08 10:49:22 +00:00
|
|
|
home.packages = [
|
|
|
|
pkgs.pueue
|
|
|
|
];
|
2024-08-02 19:29:25 +00:00
|
|
|
home.file."shell-startup" = {
|
|
|
|
source = ../../other/scripts/desktop/shell-startup.nu;
|
|
|
|
target = ".config/nushell/shell-startup.nu";
|
|
|
|
};
|
2023-11-14 11:22:19 +00:00
|
|
|
programs.nushell = {
|
|
|
|
enable = true;
|
|
|
|
package = config.users.defaultUserShell;
|
|
|
|
configFile.source = ../../other/config.nu;
|
|
|
|
envFile.source = ../../other/env.nu;
|
2024-06-29 12:37:41 +00:00
|
|
|
extraConfig = ''
|
2024-08-01 05:44:41 +00:00
|
|
|
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;
|
2024-08-01 08:27:38 +00:00
|
|
|
|
|
|
|
nu ${../../other/scripts/desktop/shell-startup.nu};
|
2024-06-29 12:37:41 +00:00
|
|
|
'';
|
2024-08-02 19:29:25 +00:00
|
|
|
extraEnv = ''
|
|
|
|
'';
|
2023-11-14 11:22:19 +00:00
|
|
|
};
|
2024-08-02 19:29:25 +00:00
|
|
|
# programs.starship.enableNushellIntegration = true;
|
2023-11-26 20:26:49 +00:00
|
|
|
programs.carapace.enableNushellIntegration = true;
|
2023-11-14 11:22:19 +00:00
|
|
|
programs.direnv.enableNushellIntegration = true;
|
|
|
|
};
|
|
|
|
}
|