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.qalculate.enable

Whether to enable Qalculate!, a multi-purpose desktop calculator.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.qalculate.package

The libqalculate package to use.

Type: null or package

Default:

pkgs.libqalculate

Example:

pkgs.qalculate-gtk

Declared by:

programs.qalculate.settings

Configuration written to $XDG_CONFIG_HOME/qalculate/qalc.cfg.

Settings are organized into two INI sections:

  • General — persistence and display preferences (e.g. save_mode_on_exit, colorize, precision).
  • Mode — active calculator settings that mirror the options accepted by the set command in an interactive qalc session (e.g. angle_unit, number_base, min_deci).

See qalc(1) for the full list of available settings and their accepted values.

Type: attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default:

{ }

Example:

{
  General = {
    colorize = 1;
    precision = 10;
    save_definitions_on_exit = 0;
    save_mode_on_exit = 1;
  };
  Mode = {
    angle_unit = 1;
    calculate_as_you_type = 1;
    max_deci = -1;
    min_deci = 0;
    number_base = 10;
  };
}

Declared by: