nix-config/terminal/nushell/nushell.nix

35 lines
720 B
Nix
Raw Normal View History

2024-03-24 23:39:49 +01:00
{
config,
pkgs,
...
}: {
#sessionVariables, sessionPath and shellAliases are not applied to nushell.
programs.nushell = {
enable = true;
configFile.source = ./config.nu;
envFile.source = ./env.nu;
};
home.file = {
".config/nushell/scripts".source = ./scripts;
};
programs.yazi.enableNushellIntegration = true;
programs.zoxide.enableNushellIntegration = true;
programs.starship.enableNushellIntegration = true;
programs.carapace = {
enable = true;
enableNushellIntegration = true;
};
programs.direnv.enableNushellIntegration = true;
services.pueue = {
enable = true;
settings = {
daemon = {
default_parallel_tasks = 5;
};
};
};
}