mirror of
https://github.com/js0ny/dotfiles.git
synced 2026-03-22 10:42:42 +00:00
39 lines
1 KiB
Nix
39 lines
1 KiB
Nix
# Run nightly:
|
|
# nix run "github:nix-community/flake-firefox-nightly#firefox-nightly-bin"
|
|
{...}: {
|
|
imports = [
|
|
./addons.nix
|
|
./search.nix
|
|
./betterfox.nix
|
|
];
|
|
programs.firefox = {
|
|
enable = true;
|
|
profiles.default = {
|
|
settings = {
|
|
"browser.toolbars.bookmarks.visibility" = "never";
|
|
"extensions.update.enabled" = true;
|
|
"sidebar.expandOnHover" = true;
|
|
"sidebar.visibility" = "expand-on-hover";
|
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
|
"toolkit.tabbox.switchByScrolling" = true;
|
|
"browser.uidensity" = 1;
|
|
# Disable Menu when pressing <Alt>
|
|
"ui.key.menuAccessKey" = -1;
|
|
"ui.key.menuAccessKeyFocuses" = false;
|
|
};
|
|
};
|
|
};
|
|
|
|
xdg.desktopEntries."firefox-private" = {
|
|
name = "Firefox Private Window";
|
|
genericName = "Web Browser";
|
|
icon = "firefox-nightly";
|
|
type = "Application";
|
|
terminal = false;
|
|
categories = [
|
|
"Network"
|
|
"WebBrowser"
|
|
];
|
|
exec = "firefox --private-window %U";
|
|
};
|
|
}
|