Nushell module

This commit is contained in:
Nathan McCarty 2024-11-28 02:45:52 +00:00
parent 558ecfabd3
commit 5b1b97b8b6
4 changed files with 1039 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{
config,
lib,
pkgs,
...
}:
{
programs.nushell = {
enable = true;
configFile.source = ./nushell/config.nu;
envFile.source = ./nushell/env.nu;
};
programs.starship = {
enable = true;
enableNushellIntegration = true;
settings = {
directory = {
truncation_length = 3;
fish_style_pwd_dir_length = 1;
};
git_commit = {
commit_hash_length = 6;
only_detached = false;
};
package = {
symbol = "";
};
time = {
disabled = false;
format = "[$time]($style)";
time_format = "%I:%M %p";
};
};
};
}