programs.oh-my-posh.enable
Whether to enable oh-my-posh, a prompt theme engine for any shell.
Type: boolean
Default:
false
Example:
true
Declared by:
programs.oh-my-posh.enableBashIntegration
Whether to enable Bash integration.
Type: boolean
Example:
false
Declared by:
programs.oh-my-posh.enableFishIntegration
Whether to enable Fish integration.
Type: boolean
Example:
false
Declared by:
programs.oh-my-posh.enableNushellIntegration
Whether to enable Nushell integration.
Type: boolean
Example:
false
Declared by:
programs.oh-my-posh.enableZshIntegration
Whether to enable Zsh integration.
Type: boolean
Example:
false
Declared by:
programs.oh-my-posh.package
The oh-my-posh package to use.
Type: package
Default:
pkgs.oh-my-posh
Declared by:
programs.oh-my-posh.configFile
Path to a custom configuration path, can be json, yaml or toml.
Type: null or string or absolute path
Default:
null
Declared by:
programs.oh-my-posh.settings
Configuration written to
$XDG_CONFIG_HOME/oh-my-posh/config.json. See
https://ohmyposh.dev/docs/configuration/overview
for details. The useTheme option is ignored when this
option is used.
Type: JSON value
Default:
{ }
Example:
builtins.fromJSON (builtins.unsafeDiscardStringContext (builtins.readFile "${pkgs.oh-my-posh}/share/oh-my-posh/themes/space.omp.json"))
Declared by:
programs.oh-my-posh.useTheme
Use one of the official themes. This should be a name from this list:
https://ohmyposh.dev/docs/themes. Because a theme
is essentially a configuration file, this option is not used when a
configFile is set.
Type: null or string
Default:
null
Declared by: