mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
remove chromium from servers
This commit is contained in:
parent
034439608e
commit
8cbcf3cc19
1 changed files with 24 additions and 22 deletions
|
@ -1,27 +1,29 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
nixpkgs.config.chromium.commandLineArgs = toString [
|
config = lib.mkIf (config.sconfig.desktop.enable) {
|
||||||
"--enable-features=WebUIDarkMode"
|
nixpkgs.config.chromium.commandLineArgs = toString [
|
||||||
"--force-dark-mode"
|
"--enable-features=WebUIDarkMode"
|
||||||
];
|
"--force-dark-mode"
|
||||||
programs.chromium = {
|
];
|
||||||
enable = true;
|
programs.chromium = {
|
||||||
extraOpts = {
|
enable = true;
|
||||||
AutofillAddressEnabled = false;
|
extraOpts = {
|
||||||
AutofillCreditCardEnabled = false;
|
AutofillAddressEnabled = false;
|
||||||
BlockThirdPartyCookies = true;
|
AutofillCreditCardEnabled = false;
|
||||||
BrowserAddPersonEnabled = false;
|
BlockThirdPartyCookies = true;
|
||||||
BrowserGuestModeEnabled = false;
|
BrowserAddPersonEnabled = false;
|
||||||
DefaultGeolocationSetting = 2;
|
BrowserGuestModeEnabled = false;
|
||||||
DefaultNotificationsSetting = 2;
|
DefaultGeolocationSetting = 2;
|
||||||
NetworkPredictionOptions = 2;
|
DefaultNotificationsSetting = 2;
|
||||||
PasswordManagerEnabled = false;
|
NetworkPredictionOptions = 2;
|
||||||
ShowFullUrlsInAddressBar = true;
|
PasswordManagerEnabled = false;
|
||||||
SyncDisabled = true; # required for BrowsingDataLifetime
|
ShowFullUrlsInAddressBar = true;
|
||||||
BrowsingDataLifetime = [
|
SyncDisabled = true; # required for BrowsingDataLifetime
|
||||||
{ data_types = [ "browsing_history" ]; time_to_live_in_hours = 24 * 7; }
|
BrowsingDataLifetime = [
|
||||||
{ data_types = [ "download_history" ]; time_to_live_in_hours = 6; }
|
{ data_types = [ "browsing_history" ]; time_to_live_in_hours = 24 * 7; }
|
||||||
];
|
{ data_types = [ "download_history" ]; time_to_live_in_hours = 6; }
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue