30 lines
448 B
Nix
30 lines
448 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
device,
|
|
...
|
|
}: {
|
|
programs.nushell = {
|
|
enable = true;
|
|
shellAliases = {
|
|
cd = "z";
|
|
yy = "yazi";
|
|
cat = "bat";
|
|
};
|
|
plugins = with pkgs.nushellPlugins; [
|
|
formats
|
|
polars
|
|
# highlight
|
|
];
|
|
extraConfig = ''
|
|
${pkgs.pfetch-rs}/bin/pfetch
|
|
'';
|
|
package = pkgs.nushell;
|
|
configFile.text = ''
|
|
$env.config = {
|
|
show_banner: false,
|
|
}
|
|
'';
|
|
};
|
|
}
|