Update chromium settings
This commit is contained in:
parent
41b7399256
commit
38e2653866
37
desktop.nix
37
desktop.nix
@ -98,11 +98,46 @@ in {
|
||||
extensions = [
|
||||
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # uBlock Origin
|
||||
"gcbommkclmclpchllfjekcdonpmejbdp" # HTTPS Everywhere
|
||||
"pkehgijcmpdhfbdbbnkijodmdjhbjlgp" # Privacy Badger
|
||||
"dbepggeogbaibhgnhhndojpepiihcmeb" # Vimium
|
||||
"aapbdbdomjkkjkaonfhkkikfgjllcleb" # Google Translate
|
||||
"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 = ''
|
||||
|
@ -1,2 +1,6 @@
|
||||
[global]
|
||||
font = Ubuntu Mono 40
|
||||
|
||||
[ignore]
|
||||
summary = "browserpass: Install native host app"
|
||||
format = ""
|
@ -163,5 +163,11 @@ in {
|
||||
(writeShellScriptBin "torbrowser" "${unstable.tor-browser-unwrapped}/bin/firefox")
|
||||
|
||||
(writeShellScriptBin "git-get" "${git}/bin/git clone https://$1 $GOPATH/src/$1")
|
||||
|
||||
(writeShellScriptBin "chromium" ''
|
||||
${unstable.chromium}/bin/chromium --force-dark-mode \
|
||||
--start-maximized \
|
||||
$@
|
||||
'')
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user