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

Whether to enable OfflineIMAP.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.offlineimap.package

The offlineimap package to use. Can be used to specify extensions.

Type: package

Default:

pkgs.offlineimap

Example:

pkgs.offlineimap.overridePythonAttrs ( old: {
  propagatedBuildInputs = old.propagatedBuildInputs
    ++ (with pkgs.python3Packages; [
      requests_oauthlib xdg gpgme]);
})

Declared by:

programs.offlineimap.extraConfig.default

Extra configuration options added to the DEFAULT section.

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

Default:

{ }

Example:

{
  gmailtrashfolder = "[Gmail]/Papierkorb";
}

Declared by:

programs.offlineimap.extraConfig.general

Extra configuration options added to the general section.

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

Default:

{ }

Example:

{
  maxage = 30;
  ui = "blinkenlights";
}

Declared by:

programs.offlineimap.extraConfig.mbnames

Extra configuration options added to the mbnames section.

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

Default:

{ }

Example:

{
  filename = "~/.config/mutt/mailboxes";
  footer = "'\\n'";
  header = "'mailboxes '";
  peritem = "'+%(accountname)s/%(foldername)s'";
  sep = "' '";
}

Declared by:

programs.offlineimap.pythonFile

Python code that can then be used in other parts of the configuration.

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

Default:

''
  import subprocess
  
  def get_pass(service, cmd):
      return subprocess.check_output(cmd, )
''

Declared by: