OpenCL and Chromium config

This commit is contained in:
Martin Potier 2017-04-01 18:16:12 +02:00
parent 3a48215932
commit f6f5b9afe8

View file

@ -49,6 +49,10 @@
package = pkgs.pulseaudioLight;
};
trackpoint.enable = true;
opengl.extraPackages = with pkgs; [ # These are imported by ocl-icd
beignet # intel gpu
intel-ocl # intel cpu
];
};
i18n = {
@ -90,6 +94,39 @@
adb.enable = true;
mosh.enable = true;
tmux.enable = true;
chromium = {
enable = true;
defaultSearchProviderSearchURL = null;
defaultSearchProviderSuggestURL = null;
extensions = [
"ihlenndgcmojhcghmfjfneahoeklbjjh" # cVim
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
];
extraOpts = {
AlternateErrorPagesEnabled = false;
AlwaysOpenPdfExternally = true;
AutoFillEnabled = false;
BackgroundModeEnabled = false;
BlockThirdPartyCookies = true;
BookmarkBarEnabled = false;
BrowserAddPersonEnabled = false;
BrowserGuestModeEnabled = false;
BuiltInDnsClientEnabled = false;
CloudPrintProxyEnabled = false;
CloudPrintSubmitEnabled = false;
ContextualSearchEnabled = false;
DefaultBrowserSettingEnabled = false;
DefaultGeolocationSetting = 2;
DefaultSearchProviderEnabled = false;
DownloadDirectory = "/tmp";
NTPContentSuggestionsEnabled = false;
NetworkPredictionOptions = 2;
PasswordManagerEnabled = false;
SearchSuggestEnabled = false;
SpellCheckServiceEnabled = false;
TranslateEnabled = false;
};
};
};
security = {
@ -244,4 +281,6 @@
};
}) ];
nixpkgs.config.allowUnfree = true;
}