scripts
Set of named scripts that each add an executable command to the shell.
Type: attribute set of (submodule)
Default:
{ }
Declared by:
scripts.<name>.path
Absolute path to the generated executable for this script.
Type: string (read only)
Declared by:
scripts.<name>.strict
When the script is treated as bash (no shebang), enable strict mode and lint it with shellcheck.
Type: boolean
Default:
true
Declared by:
scripts.<name>.text
The script body to expose as an executable command named after the attribute key. If the text starts with a shebang (e.g. “#!/usr/bin/env python”), it is written verbatim and executed with that interpreter. Otherwise the text is treated as a shell script (bash).
Type: string
Declared by: