environment.shellAliases
NixOS option
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)Default
{ }Example
declared in: nixos/modules/config/shells-environment.nixView source on NixOS/nixpkgs →{
l = null;
ll = "ls -l";
}