os/programs/firefox.nix

46 lines
1.6 KiB
Nix

{config, lib, pkgs, inputs, ...} : {
home.file.".mozilla/firefox/default/chrome/firefox-gnome-theme".source = inputs.firefox-gnome-theme;
programs.firefox.enable = true;
programs.firefox.profiles.default = {
userChrome = ''
@import "firefox-gnome-theme/userChrome.css";
'';
userContent = ''
@import "firefox-gnome-theme/userContent.css";
'';
settings = {
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; # Enable customChrome.cs
"browser.uidensity" = 0; # Set UI density to normal
"svg.context-properties.content.enabled" = true; # Enable SVG context-propertes
"browser.theme.dark-private-windows" = false; # Disable private window dark theme
"extensions.autoDisableScopes" = 0; # Auto enable new extentions
"browser.toolbars.bookmarks.visibility" = "never";
"gnomeTheme.hideSingleTab" = true;
"signon.rememberSignons" = false;
"dom.private-attribution.submission.enabled" = false;
};
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
ublock-origin
bitwarden
consent-o-matic
wayback-machine
h264ify
sponsorblock
fediact
multi-account-containers
tampermonkey
];
search = {
default = "DuckDuckGo";
force = true;
};
containers = {
"Lekker van Peet" = {
color = "toolbar";
icon = "circle";
id = 2;
};
};
containersForce = true;
};
}