nix-config/configs/home-manager/nushell/default.nix

41 lines
843 B
Nix
Raw Normal View History

{
config,
lib,
pkgs,
...
}: {
home.file = {
".config/nushell/completions".source = ./completions;
};
programs = {
#sessionVariables, sessionPath and shellAliases are not applied to nushell.
nushell = {
enable = true;
configFile.source = ./config.nu;
envFile.source = ./env.nu;
};
yazi.enableNushellIntegration = true;
zoxide.enableNushellIntegration = true;
starship.enableNushellIntegration = true;
eza.enableNushellIntegration = true;
carapace = {
enable = true;
enableNushellIntegration = true;
};
direnv.enableNushellIntegration = true;
};
services = {
gpg-agent.enableNushellIntegration = true;
pueue = {
enable = true;
settings = {
daemon = {
default_parallel_tasks = 5;
};
};
};
};
}