Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

programs.sagemath.enable

Whether to enable SageMath, a mathematics software system.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.sagemath.package

The sage package to use. The SageMath package to use.

Type: null or package

Default:

pkgs.sage

Declared by:

programs.sagemath.configDir

Directory where the sage.init file will be stored. Note that the upstream default is ~/.sage, but our default is to follow XDG.

Type: string

Default:

${config.xdg.configHome}/sage

Declared by:

programs.sagemath.dataDir

Location for DOT_SAGE. Note that the upstream default is ~/.sage, but our default is to follow XDG.

Type: string

Default:

${config.xdg.dataHome}/sage

Declared by:

programs.sagemath.initScript

Contents of the init.sage file that is loaded on startup.

Type: strings concatenated with ā€œ\nā€

Default:

""

Example:

"%colors linux"

Declared by: