Update flake.lock entries to newer revisions and switch Librewolf to the pre‑built binary package.
32 lines
672 B
Nix
32 lines
672 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
options.librewolf.enable = lib.mkEnableOption "LibreWolf";
|
|
|
|
config.programs.librewolf = lib.mkIf config.librewolf.enable {
|
|
enable = true;
|
|
package = pkgs.librewolf-bin;
|
|
# nativeMessagingHosts = [pkgs.firefoxpwa];
|
|
languagePacks = [
|
|
"pl"
|
|
"en-US"
|
|
];
|
|
settings = {
|
|
# LibreWolf settings
|
|
"network.http.referer.XOriginPolicy" = 2;
|
|
"privacy.resistFingerprinting.letterboxing" = true;
|
|
"privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts" = true;
|
|
};
|
|
policies = {
|
|
# Policies (about:policies#documentation)
|
|
};
|
|
};
|
|
|
|
imports = [
|
|
./profiles
|
|
];
|
|
}
|