dotfiles/nix/nushell/nushell.nix
2024-03-22 18:22:43 -05:00

31 lines
637 B
Nix

{
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.enableNushellIntegration = true;
services.pueue = {
enable = true;
settings = {
daemon = {
default_parallel_tasks = 5;
};
};
};
}