environment.shellAliases

An attribute set that maps aliases (the top level attribute names in this option) to command strings or directly to build outputs. The aliases are added to all users' shells. Aliases mapped to null are ignored.

Type
attribute set of (null or string or absolute path)
Example
{
  l = null;
  ll = "ls -l";
}
Declared
<nixpkgs/nixos/modules/config/shells-environment.nix>