programs/chromium: allow extensions outside chrome web store
This commit is contained in:
parent
ac1f36ca16
commit
2aebb2375c
@ -9,9 +9,7 @@ let
|
|||||||
HomepageLocation = cfg.homepageLocation;
|
HomepageLocation = cfg.homepageLocation;
|
||||||
DefaultSearchProviderSearchURL = cfg.defaultSearchProviderSearchURL;
|
DefaultSearchProviderSearchURL = cfg.defaultSearchProviderSearchURL;
|
||||||
DefaultSearchProviderSuggestURL = cfg.defaultSearchProviderSuggestURL;
|
DefaultSearchProviderSuggestURL = cfg.defaultSearchProviderSuggestURL;
|
||||||
ExtensionInstallForcelist = map (extension:
|
ExtensionInstallForcelist = cfg.extensions;
|
||||||
"${extension};https://clients2.google.com/service/update2/crx"
|
|
||||||
) cfg.extensions;
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
@ -28,7 +26,11 @@ in
|
|||||||
List of chromium extensions to install.
|
List of chromium extensions to install.
|
||||||
For list of plugins ids see id in url of extensions on
|
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>
|
<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 = [];
|
default = [];
|
||||||
example = literalExample ''
|
example = literalExample ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user