mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Desktop] Fix chromium configuration
This commit is contained in:
parent
26e1dfacba
commit
16c5d7f9cd
2 changed files with 22 additions and 3 deletions
24
desktop.nix
24
desktop.nix
|
|
@ -218,10 +218,28 @@ in {
|
||||||
programs.chromium = {
|
programs.chromium = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extensions = [
|
extensions = [
|
||||||
"gcbommkclmclpchllfjekcdonpmejbdp" # HTTPS Everywhere
|
"gcbommkclmclpchllfjekcdonpmejbdp;https://clients2.google.com/service/update2/crx" # HTTPS Everywhere
|
||||||
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # Ublock Origin
|
"cjpalhdlnbpafiamejdnhcphjbkeiagm;https://clients2.google.com/service/update2/crx" # Ublock Origin
|
||||||
];
|
];
|
||||||
defaultSearchProviderSearchURL = "https://duckduckgo.com/?kp=1&k1=-1&kav=1&kak=-1&kax=-1&kaq=-1&kap=-1&kau=-1&kao=-1&kae=d&q={searchTerms}";
|
extraOpts = {
|
||||||
|
"BrowserSignin" = 0;
|
||||||
|
"SyncDisabled" = true;
|
||||||
|
"PasswordManagerEnabled" = true;
|
||||||
|
"SpellcheckEnabled" = true;
|
||||||
|
"SpellcheckLanguage" = [
|
||||||
|
"fr"
|
||||||
|
"en-US"
|
||||||
|
];
|
||||||
|
"DefaultSearchProviderEnabled" = true;
|
||||||
|
"DefaultSearchProviderKeyword" = "duckduckgo";
|
||||||
|
"DefaultSearchProviderName" = "DuckDuckGo";
|
||||||
|
"ExtensionInstallSources" = [
|
||||||
|
"https://chrome.google.com/webstore/*"
|
||||||
|
"https://microsoftedge.microsoft.com/addons/*"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
defaultSearchProviderSearchURL = ''https://duckduckgo.com/?kp=1&k1=-1&kav=1&kak=-1&kax=-1&kaq=-1&kap=-1&kau=-1&kao=-1&kae=d&q={searchTerms}'';
|
||||||
|
defaultSearchProviderSuggestURL = ''https://ac.duckduckgo.com/ac/?q={searchTerms}'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -114,6 +114,7 @@ in
|
||||||
ungoogled-chromium = super.ungoogled-chromium.override {
|
ungoogled-chromium = super.ungoogled-chromium.override {
|
||||||
enableWideVine = true;
|
enableWideVine = true;
|
||||||
};
|
};
|
||||||
|
chromium = self.ungoogled-chromium;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue