From 7ebecc0f9ba39299a58b5002792744a28200c227 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 19 Jun 2019 17:05:54 +0200 Subject: Remove chromium --- modules/development/base.nix | 1 + modules/satoshipay.nix | 38 -------------------------------------- 2 files changed, 1 insertion(+), 38 deletions(-) (limited to 'modules') diff --git a/modules/development/base.nix b/modules/development/base.nix index 0d7520b..1cf85c8 100644 --- a/modules/development/base.nix +++ b/modules/development/base.nix @@ -14,6 +14,7 @@ ag ripgrep + firefox-devedition-bin httpie jq diff --git a/modules/satoshipay.nix b/modules/satoshipay.nix index 7ac6cdb..36c7f10 100644 --- a/modules/satoshipay.nix +++ b/modules/satoshipay.nix @@ -16,48 +16,10 @@ nixpkgs.config.allowUnfree = true; - programs.chromium = { - enable = true; - extensions = [ - "cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin - "aeblfdkhhhdcdjpifhhbdiojplfjncoa" # 1password x - ]; - homepageLocation = "about:blank"; - defaultSearchProviderSearchURL = "https://duckduckgo.com/?q={searchTerms}"; - defaultSearchProviderSuggestURL = "https://duckduckgo.com/ac/?q={searchTerms}&type=list"; - # https://www.chromium.org/administrators/policy-list-3 - extraOpts = { - BlockThirdPartyCookies = true; - CookiesBlockedForUrls = [ - "[*.]smartlock.google.com" - "[*.]mediumSmartLockSigninAllowed.com" - ]; - SyncDisabled = true; - BuiltInDnsClientEnabled = false; - BrowserSignin = 0; - EasyUnlockAllowed = false; - EnableMediaRouter = false; - CloudPrintProxyEnabled = false; - CloudPrintSubmitEnabled = false; - SafeBrowsingEnabled = false; - RestoreOnStartup = 1; # Restore last session - AlwaysOpenPdfExternally = true; - BrowserNetworkTimeQueriesEnabled = false; - NotificationsAllowedForUrls = [ - "gitlab.satoshipay.tech" - "calendar.google.com" - ]; - NotificationsBlockedForUrls = [ - "[.*]reddit.com" - ]; - }; - }; - environment.systemPackages = with pkgs; [ awscli caddy openssl - chromium docker_compose mongodb-tools pgadmin -- cgit 1.4.1