home/gui | switch firefox -> librewolf, add extensions. WIP

This commit is contained in:
Don Harper 2026-01-06 23:26:59 -06:00
parent ea5c9e1f3d
commit ce2854ed04
4 changed files with 76 additions and 4 deletions

View file

@ -66,7 +66,6 @@
keychain
keyutils
lazygit
librewolf
links2
liquidprompt
lynx

View file

@ -14,10 +14,9 @@ in {
imports = [
./alacritty.nix
./autostart.nix
# ./fuzzel.nix
# ./kde.nix
./librewolf.nix
./mpv.nix
# ./redshift.nix
./qutebrowser.nix
./services.nix
./sway.nix
@ -41,7 +40,7 @@ in {
clipman
darktable
# element-desktop
firefox
# firefox
gnumeric
headset-charge-indicator
ibm-plex

73
home/gui/librewolf.nix Normal file
View file

@ -0,0 +1,73 @@
{
config,
pkgs,
...
}: {
programs.firefox = {
enable = true;
package = pkgs.librewolf;
policies = {
Cookies = {
"Allow" = [
"https://addy.io"
"https://element.io"
"https://discord.com"
"https://github.com"
"https://lemmy.cafe"
"https://proton.me"
];
"Locked" = true;
};
DisableTelemetry = true;
DisableFirefoxStudies = true;
ExtensionSettings = {
# Catpuccin Mocha - Lavender
"{8446b178-c865-4f5c-8ccc-1d7887811ae3}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/catppuccin-mocha-lavender-git/latest.xpi";
installation_mode = "force_installed";
};
# Tridactyl
"tridactyl.vim@cmcaine.co.uk" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/tridactyl-vim/latest.xpi";
installation_mode = "force_installed";
};
# uBlock Origin
"uBlock0@raymondhill.net" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
installation_mode = "force_installed";
};
# Bitwarden
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
installation_mode = "force_installed";
};
# Dark Reader
"addon@darkreader.org" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi";
installation_mode = "force_installed";
};
};
FirefoxHome = {
"Search" = false;
};
HardwareAcceleration = true;
Preferences = {
"browser.preferences.defaultPerformanceSettings.enabled" = false;
"browser.startup.homepage" = "about:home";
"browser.toolbar.bookmarks.visibility" = "newtab";
"browser.toolbars.bookmarks.visibility" = "newtab";
"browser.urlbar.suggest.bookmark" = false;
"browser.urlbar.suggest.engines" = false;
"browser.urlbar.suggest.history" = false;
"browser.urlbar.suggest.openpage" = false;
"browser.urlbar.suggest.recentsearches" = false;
"browser.urlbar.suggest.topsites" = false;
"browser.warnOnQuit" = false;
"browser.warnOnQuitShortcut" = false;
"places.history.enabled" = "false";
"privacy.resistFingerprinting" = true;
"privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts" = true;
};
};
};
}

View file

@ -57,6 +57,7 @@
cnn = "https://www.cnn.com";
crhs = "https://www.katyisd.org/CRHS";
crhs-absence = "https://www.katyisd.org/domain/5809";
cultpens = "https://cultpens.com/";
cups = "http://localhost:631/printers/printer";
disk = "https://smart.trex-halfbeak.ts.net/web/dashboard";
ercot = "https://www.ercot.com/gridmktinfo/dashboards";