firefox
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
catppuccin.homeManagerModules.catppuccin
|
||||
../common/programs/default.nix
|
||||
../common/programs/desktop.nix
|
||||
../common/programs/desktop
|
||||
../common/programs/hyprland
|
||||
../common/programs/eww
|
||||
../common/programs/kitty.nix
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [ ./firefox.nix ];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# various
|
||||
google-chrome
|
||||
firefox-devedition
|
||||
spotify
|
||||
spicetify-cli
|
||||
xfce.thunar
|
||||
@@ -0,0 +1,73 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.firefox-devedition.override {
|
||||
cfg.enableTridactylNative = true;
|
||||
};
|
||||
policies = {
|
||||
DefaultDownloadDirectory = "$HOME/downloads/firefox";
|
||||
};
|
||||
|
||||
profiles = {
|
||||
personal = {
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
# privacy
|
||||
clearurls
|
||||
decentraleyes
|
||||
|
||||
# content/ad blocking
|
||||
ublock-origi
|
||||
|
||||
# quality of life
|
||||
no-pdf-download
|
||||
buster-captcha-solver
|
||||
|
||||
# dev
|
||||
react-devtools
|
||||
translate-web-pages
|
||||
|
||||
# manual use
|
||||
tridactyl
|
||||
bitwarden-password-manager
|
||||
];
|
||||
settings = {
|
||||
# Performance settings
|
||||
"gfx.webrender.all" = true; # Force enable GPU acceleration
|
||||
"media.ffmpeg.vaapi.enabled" = true;
|
||||
"widget.dmabuf.force-enabled" = true; # Required in recent Firefoxes
|
||||
|
||||
# Re-bind ctrl to super (would interfere with tridactyl otherwise)
|
||||
"ui.key.accelKey" = 91;
|
||||
|
||||
# Hide the "sharing indicator", it's especially annoying
|
||||
# with tiling WMs on wayland
|
||||
"privacy.webrtc.legacyGlobalIndicator" = false;
|
||||
|
||||
# Actual settings
|
||||
"browser.bookmarks.restore_default_bookmarks" = false;
|
||||
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons" = false;
|
||||
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features" = false;
|
||||
"browser.newtabpage.activity-stream.feeds.snippets" = false;
|
||||
"browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.havePinned" = "";
|
||||
"browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.searchEngines" = "";
|
||||
"browser.newtabpage.activity-stream.section.highlights.includePocket" = false;
|
||||
"browser.newtabpage.activity-stream.showSponsored" = false;
|
||||
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
||||
"browser.newtabpage.pinned" = false;
|
||||
"browser.protections_panel.infoMessage.seen" = true;
|
||||
"browser.quitShortcut.disabled" = true;
|
||||
"browser.shell.checkDefaultBrowser" = false;
|
||||
"browser.toolbars.bookmarks.visibility" = "never";
|
||||
"browser.urlbar.suggest.openpage" = false;
|
||||
"datareporting.policy.dataSubmissionEnable" = false;
|
||||
"datareporting.policy.dataSubmissionPolicyAcceptedVersion" = 2;
|
||||
"extensions.htmlaboutaddons.recommendations.enabled" = false;
|
||||
"extensions.pocket.enabled" = false;
|
||||
"privacy.trackingprotection.enabled" = true;
|
||||
"privacy.trackingprotection.socialtracking.enabled" = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user