Nix Shell
What
Displays the nix shell status if inside a nix-shell environment.
Sample Configuration
- json
- yaml
- toml
{
"type": "nix-shell",
"style": "powerline",
"foreground": "blue",
"background": "transparent",
"template": "(nix-{{ .Type }})"
}
type: nix-shell
style: powerline
foreground: blue
background: transparent
template: (nix-{{ .Type }})
type = "nix-shell"
style = "powerline"
foreground = "blue"
background = "transparent"
template = "(nix-{{ .Type }})"
Template (info)
default template
via {{ .Type }}-shell"
Properties
Name | Type | Description |
---|---|---|
.Type | string | the type of nix shell, can be pure , impure or unknown |