programs.shell-environments.environments
The environments to create shortcuts for.
type
list of submodule
example
{
programs.shell-environments.environments = ''
[{
name = "fluff";
extraPackages = with pkgs; [ neofetch cmatrix sl ];
include = [ "base-editors" ];
bashrc = \'\'
# You can set up your environment further here
alias sl="sl -F -10"
\'\';
}]
'';
}
default
{
programs.shell-environments.environments = [];
}
programs.shell-environments.environments.*.bashrc
type
string
default
{
programs.shell-environments.environments.*.bashrc = "";
}
programs.shell-environments.environments.*.excludeBase
type
boolean
default
{
programs.shell-environments.environments.*.excludeBase = false;
}
programs.shell-environments.environments.*.extraPackages
type
list of package
default
{
programs.shell-environments.environments.*.extraPackages = [];
}
programs.shell-environments.environments.*.include
type
list of string
default
{
programs.shell-environments.environments.*.include = [];
}
programs.shell-environments.environments.*.name
type
string
programs.shell-environments.modules
Composable modules able to be used in environments
.
type
attribute set of submodule
example
{
programs.shell-environments.modules = ''
{
base-editors = {
extraPackages = with pkgs; [ vim nano ]; # Add emacs (or ed) in here if you want to
bashrc = \'\'
export EDITOR=vi
export VISUAL=vi
\'\';
};
}
'';
}
default
{
programs.shell-environments.modules = {};
}
programs.shell-environments.modules.<name>.bashrc
type
string
default
{
programs.shell-environments.modules.<name>.bashrc = "";
}
programs.shell-environments.modules.<name>.extraPackages
type
list of package
default
{
programs.shell-environments.modules.<name>.extraPackages = [];
}
programs.shell-environments.modules.<name>.include
type
list of string
default
{
programs.shell-environments.modules.<name>.include = [];
}