set up declarative firefox

not able to switch to librewolf yet because the extensions and settings
config options dont work properly yet
This commit is contained in:
Gabriella Bere 2025-03-01 23:10:05 +00:00
parent b437e0934a
commit 97c2cb0ef3
3 changed files with 63 additions and 37 deletions

View file

@ -1,16 +1,42 @@
{ config, pkgs, ... }: {
programs.firefox = {
enable = true;
package = pkgs.librewolf;
# package = pkgs.librewolf;
profiles.blue = {
extensions = {
with pkgs.nur.repos.rycee.firefox-addons; [
]
}
isDefault = true;
id = 0;
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
indie-wiki-buddy
bitwarden
darkreader
ff2mpv
i-dont-care-about-cookies
ublock-origin
unpaywall
dearrow
sponsorblock
return-youtube-dislikes
clearurls
youtube-shorts-block
youtube-high-definition
shinigami-eyes
];
search.default = "DuckDuckGo";
settings = {
"browser.search.region" = "GB";
"browser.search.isUS" = false;
"distribution.searchplugins.defaultLocale" = "en-GB";
"general.useragent.locale" = "en-GB";
"identity.fxaccounts.enabled" = false;
"extensions.autoDisableScopes" = 0;
}
}
}
};
};
policies = {
"OfferToSaveLogins" = false;
"DisablePocket" = true;
"AutofillAddressEnabled" = false;
"AutofillCreditCardEnabled" = false;
};
};
}

View file

@ -40,7 +40,7 @@
signal-desktop # Signal messenger client
nautilus # File manager (move to option maybe)
element-desktop # Matrix client
jetbrains.idea-community # IDE
stable.jetbrains.idea-community # IDE
];
services.flatpak.packages = [
"io.mrarm.mcpelauncher" # Minecraft bedrock edition launcher