1
0

Update chromium settings

This commit is contained in:
dump_stack() 2019-07-23 19:06:59 +00:00
parent 41b7399256
commit 38e2653866
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
3 changed files with 46 additions and 1 deletions

View File

@ -98,11 +98,46 @@ in {
extensions = [ extensions = [
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # uBlock Origin "cjpalhdlnbpafiamejdnhcphjbkeiagm" # uBlock Origin
"gcbommkclmclpchllfjekcdonpmejbdp" # HTTPS Everywhere "gcbommkclmclpchllfjekcdonpmejbdp" # HTTPS Everywhere
"pkehgijcmpdhfbdbbnkijodmdjhbjlgp" # Privacy Badger
"dbepggeogbaibhgnhhndojpepiihcmeb" # Vimium "dbepggeogbaibhgnhhndojpepiihcmeb" # Vimium
"aapbdbdomjkkjkaonfhkkikfgjllcleb" # Google Translate "aapbdbdomjkkjkaonfhkkikfgjllcleb" # Google Translate
"naepdomgkenhinolocfifgehidddafch" # Browserpass "naepdomgkenhinolocfifgehidddafch" # Browserpass
]; ];
extraOpts = {
DefaultBrowserSettingEnabled = true;
TranslateEnabled = false;
SpellcheckEnabled = false;
SpellCheckServiceEnabled = false;
PrintingEnabled = false;
SearchSuggestEnabled = false;
PasswordManagerEnabled = false;
SafeBrowsingEnabled = false;
AutofillAddressEnabled = false;
AutofillCreditCardEnabled = false;
SyncDisabled = true;
BlockThirdPartyCookies = true;
SigninAllowed = false;
AudioCaptureAllowed = false;
VideoCaptureAllowed = false;
SSLErrorOverrideAllowed = false;
AutoplayAllowed = false;
# 0 = Disable browser sign-in
BrowserSignin = 0;
DefaultSearchProviderEnabled = true;
DefaultSearchProviderSearchURL = "https://duckduckgo.com/"
+ "?kae=d&k1=-1&kc=1&kav=1&kd=-1&kh=1&q={searchTerms}";
# Do not allow any site to show desktop notifications
DefaultNotificationsSetting = 2;
# Do not allow any site to track the users' physical location
DefaultGeolocationSetting = 2;
# Block the Flash plugin
DefaultPluginsSetting = 2;
};
}; };
networking.localCommands = '' networking.localCommands = ''

View File

@ -1,2 +1,6 @@
[global] [global]
font = Ubuntu Mono 40 font = Ubuntu Mono 40
[ignore]
summary = "browserpass: Install native host app"
format = ""

View File

@ -163,5 +163,11 @@ in {
(writeShellScriptBin "torbrowser" "${unstable.tor-browser-unwrapped}/bin/firefox") (writeShellScriptBin "torbrowser" "${unstable.tor-browser-unwrapped}/bin/firefox")
(writeShellScriptBin "git-get" "${git}/bin/git clone https://$1 $GOPATH/src/$1") (writeShellScriptBin "git-get" "${git}/bin/git clone https://$1 $GOPATH/src/$1")
(writeShellScriptBin "chromium" ''
${unstable.chromium}/bin/chromium --force-dark-mode \
--start-maximized \
$@
'')
]; ];
} }