MyNixOS website logo
option

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.

Declarations
Type
attribute set of (null or string or path)
Example
{
  l = null;
  ll = "ls -l";
}