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

Whether to enable ledger, a double-entry accounting system.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.ledger.package

The ledger package to use.

Type: null or package

Default:

pkgs.ledger

Declared by:

programs.ledger.extraConfig

Extra configuration to add to $XDG_CONFIG_HOME/ledger/ledgerrc.

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

Default:

""

Example:

--sort date
--effective
--date-format %Y-%m-%d

Declared by:

programs.ledger.settings

Configuration written to $XDG_CONFIG_HOME/ledger/ledgerrc. See https://www.ledger-cli.org/3.0/doc/ledger3.html#Detailed-Option-Description for explanation about possible values.

Type: attribute set of (boolean or signed integer or string or list of string)

Default:

{ }

Example:

{
  date-format = "%Y-%m-%d";
  file = [
    "~/finances/journal.ledger"
    "~/finances/assets.ledger"
    "~/finances/income.ledger"
  ];
  sort = "date";
  strict = true;
}

Declared by: