programs.chromium.initialPrefs

NixOS option

attribute set

Initial preferences are used to configure the browser for the first run. Unlike programs.chromium.extraOpts, initialPrefs can be changed by users in the browser settings. More information can be found in the Chromium documentation: https://www.chromium.org/administrators/configuring-other-preferences/

type: attribute set
Default
{ }
Example
{
  "first_run_tabs" = [
    "https://nixos.org/"
  ];
}
declared in: nixos/modules/programs/chromium.nixView source on NixOS/nixpkgs →