Switch firefox for chromium due to some website login problems
This commit is contained in:
parent
56ec494c4d
commit
65aae61cb0
29
system/chromium.nix
Normal file
29
system/chromium.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [ chromium ];
|
||||
programs.chromium = rec {
|
||||
enable = true;
|
||||
defaultSearchProviderEnabled = true;
|
||||
defaultSearchProviderSearchURL = "https://duckduckgo.com/?q={searchTerms}";
|
||||
defaultSearchProviderSuggestURL = defaultSearchProviderSearchURL;
|
||||
extensions = [
|
||||
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
|
||||
"gcbommkclmclpchllfjekcdonpmejbdp" # https everywhere
|
||||
"fnaicdffflnofjppbagibeoednhnbjhg" # floccus bookmark sync
|
||||
];
|
||||
extraOpts = {
|
||||
"BrowserSignin" = 0;
|
||||
"DeviceAutoUpdateDisabled" = true;
|
||||
"SyncDisabled" = true;
|
||||
"PasswordManagerEnabled" = false;
|
||||
"SpellcheckEnabled" = true;
|
||||
"SpellcheckLanguage" = [ "en-GB" ];
|
||||
"AllowDinosaurEasterEgg" = true;
|
||||
"AllowSystemNotifications" = true;
|
||||
"AutoFillEnabled" = false;
|
||||
"BrowserLabsEnabled" = false;
|
||||
"BookmarkBarEnabled" = false;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./default.nix ./emacs.nix ./firefox.nix ];
|
||||
imports = [ ./default.nix ./emacs.nix ./chromium.nix ];
|
||||
environment.systemPackages = with pkgs; [
|
||||
dex
|
||||
mesa
|
||||
|
|
Loading…
Reference in a new issue