improve firefox, fix rofi

This commit is contained in:
notgne2 2025-09-14 20:47:37 -07:00
parent 905ec5f625
commit dc8accfe8f
No known key found for this signature in database
3 changed files with 281 additions and 78 deletions

View file

@ -85,27 +85,23 @@ inputs: all: {
enable = true;
};
programs.firefox = {
package = lib.mkDefault (pkgs.librewolf.override {
nativeMessagingHosts = [pkgs.fx-cast-bridge];
cfg = {
enableGnomeExtensions = true;
pipewireSupport = true;
};
});
programs.librewolf = {
nativeMessagingHosts = [pkgs.fx-cast-bridge];
profiles.default = {
extensions = lib.optionals (pkgs ? nur.repos.rycee.firefox-addons) (with pkgs.nur.repos.rycee.firefox-addons; [
darkreader
bitwarden
violentmonkey
canvasblocker
# canvasblocker
sponsorblock
stylus
vimium
]);
settings = {
"extensions.autoDisableScopes" = 0;
"browser.startup.homepage" = "https://wizbos.club";
# Make the browser usable, if I wanted autism privacy, I would use TOR browser.
@ -135,7 +131,7 @@ inputs: all: {
# # LibreWolf ruins the user agent making sites unusable without RFP, so use the user agent from RFP manually. This also seems sane for compatibility when using Firefox.
# "general.useragent.override" = "Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0";
# set the user agent to a _realistic_ user agent because cloudflare keeps sniffing my balls
"general.useragent.override" = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.";
"general.useragent.override" = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.";
};
};
};

View file

@ -592,7 +592,6 @@ in {
programs.rofi = {
enable = lib.mkDefault true;
package = pkgs.rofi-wayland;
terminal = lib.mkDefault "${pkgs.foot}/bin/foot";
};