56 lines
1.5 KiB
Nix
56 lines
1.5 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
extensions = {
|
|
packages = [ pkgs.nur.repos.rycee.firefox-addons.darkreader ];
|
|
settings = {
|
|
"darkreader".settings = { # TODO: Check id
|
|
enabled = true;
|
|
fetchNews = true;
|
|
theme = {
|
|
mode = 1;
|
|
brightness = 100;
|
|
contrast = 100;
|
|
grayscale = 0;
|
|
sepia = 0;
|
|
useFont = false;
|
|
fontFamily = "Open Sans";
|
|
textStroke = 0;
|
|
engine = "dynamicTheme";
|
|
stylesheet = "";
|
|
darkSchemeBackgroundColor = "#24273a";
|
|
darkSchemeTextColor = "#cad3f5";
|
|
lightSchemeBackgroundColor = "#eff1f5";
|
|
lightSchemeTextColor = "#4c4f69";
|
|
scrollbarColor = "auto";
|
|
selectionColor = "#5b6078";
|
|
styleSystemControls = false;
|
|
lightColorScheme = "Default";
|
|
darkColorScheme = "Default";
|
|
immediateModify = false;
|
|
};
|
|
enabledByDefault = true;
|
|
changeBrowserTheme = false;
|
|
syncSettings = false;
|
|
syncSitesFixes = false;
|
|
automation = {
|
|
enabled = false;
|
|
mode = "system";
|
|
behavior = "OnOff";
|
|
enable = false;
|
|
};
|
|
time = {
|
|
activation = "18:00";
|
|
deactivation = "9:00";
|
|
};
|
|
previewNewDesign = true;
|
|
previewNewestDesign = false;
|
|
enableForPDF = true;
|
|
enableForProtectedPages = false;
|
|
enableContextMenus = false;
|
|
detectDarkTheme = false;
|
|
};
|
|
};
|
|
};
|
|
}
|