Refactor the whole configuration #1

Merged
caem merged 354 commits from refactor into master 2025-02-01 14:05:16 +01:00
2 changed files with 10 additions and 1 deletions
Showing only changes of commit 6adcc91d50 - Show all commits

View file

@ -0,0 +1,3 @@
{
"browser.urlbar.suggest.topsites" = false;
}

View file

@ -2,11 +2,17 @@
# https://github.com/ryan4yin/nix-config/blob/7deed26cc5a3af2072b8c89a688f265607babc80/hardening/nixpaks/firefox.nix
# https://github.com/schizofox/schizofox/blob/cdf69b2a445ff12680657a3bd44ce7c406bf2ae6/flake/modules/home-manager/default.nix
# NOTE: This overlay package is not compatible with the `programs.firefox` module
# for both NixOS and home-manager. If you want to modify the configuration of
# Firefox, you have to do it through modifying the overrides for the intermediary
# package below. This configuration already sets sane defaults so it shouldn't be needed
# but it is there in case you want it.
{ cfgPath, ... }: final: prev: {
firefox-esr = let
intermediary-firefox-esr = prev.firefox-esr.override {
extraPolicies = import "${cfgPath}/modules/nixos/multimedia/web/firefox/policies.nix";
# TODO: extaPrefs set browser.urlbar.suggest.topsites = false
extraPrefs = import "${cfgPath}/modules/nixos/multimedia/web/firefox/preferences.nix";
};
sandboxed-firefox-esr = prev.mkNixPak {