nixos: init vanadium by cloning carbon

This commit is contained in:
Primrose 2024-12-28 22:12:18 +01:00
parent 96340f2e08
commit dcadddad3a
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
21 changed files with 1335 additions and 0 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
];
};
};
}