sdlkfweoiru
This commit is contained in:
parent
f6657170fe
commit
b82caec734
4 changed files with 49 additions and 2 deletions
5
modules/nixos/multimedia/web/default.nix
Normal file
5
modules/nixos/multimedia/web/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
imports = lib.getModuleImports ./.;
|
||||
}
|
43
modules/nixos/multimedia/web/firefox.nix
Normal file
43
modules/nixos/multimedia/web/firefox.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ username, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
tor-browser
|
||||
];
|
||||
|
||||
environment.persistence."/nix/config" = {
|
||||
users."${username}".directories = [
|
||||
".config/mozilla"
|
||||
];
|
||||
};
|
||||
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.firfox-esr;
|
||||
policies = {
|
||||
EnableTrackingProtection = {
|
||||
Value = true;
|
||||
Cryptomining = true;
|
||||
Fingerprinting = true;
|
||||
EmailTracking = true;
|
||||
};
|
||||
DisableTelemetry = true;
|
||||
DisablePocket = true;
|
||||
DisableFirefoxStudies = true;
|
||||
DisableFirefoxAccounts = false;
|
||||
DisableAccounts = false;
|
||||
DontCheckDefaultBrowser = true;
|
||||
OverrideFirstRunPage = "";
|
||||
OverridePostUpdatePage = "";
|
||||
NoDefaultBookmarks = true;
|
||||
Cookies = {
|
||||
Behaviour = "reject-foreign";
|
||||
BehaviourPrivateBrowsing = "reject-foreign";
|
||||
};
|
||||
|
||||
SearchEngines = { # ESR only
|
||||
Remove = [ "Bing" "Google" "DuckDuckGo" "Wikipedia (en)" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue