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

Whether to enable Chromium.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.chromium.package

The Chromium package to use.

Type: null or package

Default:

pkgs.chromium

Declared by:

programs.chromium.commandLineArgs

List of command-line arguments to be passed to Chromium.

For a list of common switches, see Chrome switches.

To search switches for other components, see Chromium codesearch.

Type: list of string

Default:

[ ]

Example:

[
  "--enable-logging=stderr"
  "--ignore-gpu-blocklist"
]

Declared by:

programs.chromium.dictionaries

List of Chromium dictionaries to install.

Type: list of package

Default:

[ ]

Example:

[
  pkgs.hunspellDictsChromium.en_US
]

Declared by:

programs.chromium.extensions

List of Chromium extensions to install. To find the extension ID, check its URL on the Chrome Web Store.

To install extensions outside of the Chrome Web Store set updateUrl or crxPath and version as explained in the Chrome documentation.

When using pkgs.ungoogled-chromium on Linux, prefer crxPath and version. The default Chrome Web Store update URL is generally not sufficient there.

Proprietary Google Chrome on macOS only supports extensions from the Chrome Web Store.

Type: list of ((submodule) or string convertible to it)

Default:

[ ]

Example:

[
  { id = "cjpalhdlnbpafiamejdnhcphjbkeiagm"; } # ublock origin
  {
    id = "dcpihecpambacapedldabdbpakmachpb";
    updateUrl = "https://raw.githubusercontent.com/iamadamdev/bypass-paywalls-chrome/master/updates.xml";
  }
  {
    id = "aaaaaaaaaabbbbbbbbbbcccccccccc";
    crxPath = "/home/share/extension.crx";
    version = "1.0";
  }
]

Declared by:

programs.chromium.extensions.*.crxPath

Path to the extension’s crx file.

Proprietary Google Chrome on macOS does not support local crx installation.

Type: null or absolute path

Default:

null

Declared by:

programs.chromium.extensions.*.id

The extension’s ID from the Chrome Web Store url or the unpacked crx.

Type: string matching the pattern [a-zA-Z]{32}

Default:

""

Declared by:

programs.chromium.extensions.*.updateUrl

URL of the extension’s update manifest XML file.

Proprietary Google Chrome on macOS only supports the Chrome Web Store update URL.

Type: string

Default:

"https://clients2.google.com/service/update2/crx"

Declared by:

programs.chromium.extensions.*.version

The extension’s version, required for local installation.

Proprietary Google Chrome on macOS does not support local crx installation.

Type: null or string

Default:

null

Declared by:

programs.chromium.finalPackage

Resulting customized Chromium package.

This includes any Home Manager customizations such as commandLineArgs or plasmaSupport, and can be referenced from other Home Manager options through config.programs.chromium.finalPackage.

Type: null or package (read only)

Default:

null

Declared by:

programs.chromium.nativeMessagingHosts

List of Chromium native messaging hosts to install.

Type: list of package

Default:

[ ]

Example:

[
  pkgs.keepassxc
]

Declared by: