diff options
author | Daniel Fullmer <danielrf12@gmail.com> | 2020-02-23 18:34:56 -0500 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2020-05-01 15:56:41 +0200 |
commit | 2aebb2375c7ee6ff3552e31e2f17c1788af7ec81 (patch) | |
tree | 3a836b6419dc0243926e6c585386f51a8e82e3a8 | |
parent | ac1f36ca1683a01d09ee5754fb96a160201362ad (diff) | |
download | nixpkgs-2aebb2375c7ee6ff3552e31e2f17c1788af7ec81.tar nixpkgs-2aebb2375c7ee6ff3552e31e2f17c1788af7ec81.tar.gz nixpkgs-2aebb2375c7ee6ff3552e31e2f17c1788af7ec81.tar.bz2 nixpkgs-2aebb2375c7ee6ff3552e31e2f17c1788af7ec81.tar.lz nixpkgs-2aebb2375c7ee6ff3552e31e2f17c1788af7ec81.tar.xz nixpkgs-2aebb2375c7ee6ff3552e31e2f17c1788af7ec81.tar.zst nixpkgs-2aebb2375c7ee6ff3552e31e2f17c1788af7ec81.zip |
programs/chromium: allow extensions outside chrome web store
-rw-r--r-- | nixos/modules/programs/chromium.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nixos/modules/programs/chromium.nix b/nixos/modules/programs/chromium.nix index 41c49db8c71..16c063ebc89 100644 --- a/nixos/modules/programs/chromium.nix +++ b/nixos/modules/programs/chromium.nix @@ -9,9 +9,7 @@ let HomepageLocation = cfg.homepageLocation; DefaultSearchProviderSearchURL = cfg.defaultSearchProviderSearchURL; DefaultSearchProviderSuggestURL = cfg.defaultSearchProviderSuggestURL; - ExtensionInstallForcelist = map (extension: - "${extension};https://clients2.google.com/service/update2/crx" - ) cfg.extensions; + ExtensionInstallForcelist = cfg.extensions; }; in @@ -28,7 +26,11 @@ in List of chromium extensions to install. For list of plugins ids see id in url of extensions on <link xlink:href="https://chrome.google.com/webstore/category/extensions">chrome web store</link> - page. + page. To install a chromium extension not included in the chrome web + store, append to the extension id a semicolon ";" followed by a URL + pointing to an Update Manifest XML file. See + <link xlink:href="https://www.chromium.org/administrators/policy-list-3#ExtensionInstallForcelist">ExtensionInstallForcelist</link> + for additional details. ''; default = []; example = literalExample '' |