programs.powerline-go.enable
Whether to enable Powerline-go, a beautiful and useful low-latency prompt for your shell.
Type: boolean
Default:
false
Example:
true
Declared by:
programs.powerline-go.package
The powerline-go package to use.
Type: package
Default:
pkgs.powerline-go
Declared by:
programs.powerline-go.extraUpdatePS1
Shell code to execute after the prompt is set.
Type: string
Default:
""
Example:
''
PS1=$PS1"NixOS> ";
''
Declared by:
programs.powerline-go.modules
List of module names to load. The list of all available modules as well as the choice of default ones are at https://github.com/justjanne/powerline-go.
Type: null or (list of string)
Default:
null
Example:
[
"host"
"ssh"
"cwd"
"gitlite"
"jobs"
"exit"
]
Declared by:
programs.powerline-go.modulesRight
List of module names to load to be displayed on the right side. Currently not supported by bash. Specifying a value for this option will force powerline-go to use the eval format to set the prompt.
Type: null or (list of string)
Default:
null
Example:
[
"host"
"venv"
"git"
]
Declared by:
programs.powerline-go.newline
Set to true if the prompt should be on a line of its own.
Type: boolean
Default:
false
Example:
true
Declared by:
programs.powerline-go.pathAliases
Pairs of full-path and corresponding desired short name. You may use ‘~’ to represent your home directory but you should protect it to avoid shell substitution.
Type: null or (attribute set of string)
Default:
null
Example:
{
"\\~/projects/home-manager" = "prj:home-manager";
}
Declared by:
programs.powerline-go.settings
This can be any key/value pair as described in https://github.com/justjanne/powerline-go.
Type: attribute set of (boolean or signed integer or string or list of string)
Default:
{ }
Example:
{
cwd-max-depth = 7;
hostname-only-if-ssh = true;
ignore-repos = [
"/home/me/big-project"
"/home/me/huge-project"
];
numeric-exit-codes = true;
}
Declared by: