nix: update to 24.11

Reviewed-on: https://codeberg.org/leana8959/.files/pulls/1
Co-authored-by: Léana 江 <leana.jiang+git@icloud.com>
Co-committed-by: Léana 江 <leana.jiang+git@icloud.com>
This commit is contained in:
Primrose 2024-11-30 18:42:54 +00:00 committed by Léana
parent 57ed96f0ea
commit f6a89cba08
60 changed files with 696 additions and 752 deletions

View file

@ -0,0 +1,44 @@
{ pkgs, ... }:
let
inherit (pkgs) nur;
in
{
programs.firefox = {
enable = true;
policies.SearchEngines = {
Default = "searxng";
Add = [
{
Name = "searxng";
URLTemplate = "https://searxng.earth2077.fr/search?q={searchTerms}";
}
];
};
profiles.leana = {
settings = {
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"layout.css.devPixelsPerPx" = 1.2;
"browser.tabs.loadInBackground" = true;
"browser.ctrlTab.sortByRecentlyUsed" = false;
};
extensions =
let
addons = nur.repos.rycee.firefox-addons;
in
[
addons.sponsorblock
# flaky, find a better source to be fetched
# addons.bypass-paywalls-clean
];
};
};
}