os/programs/firefox.nix

50 lines
1.7 KiB
Nix
Raw Normal View History

2024-07-02 00:20:09 +02:00
{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;
2024-09-22 15:49:14 +02:00
"signon.rememberSignons" = false;
2024-07-02 00:20:09 +02:00
};
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 = {
"RYSST" = {
color = "blue";
icon = "circle";
id = 1;
};
"Lekker van Peet" = {
color = "toolbar";
icon = "circle";
id = 2;
};
};
containersForce = true;
};
}