76 lines
3.7 KiB
Nix
76 lines
3.7 KiB
Nix
{ pkgs, inputs, ... }:
|
|
|
|
let
|
|
lock-false = {
|
|
Value = false;
|
|
Status = "locked";
|
|
};
|
|
lock-true = {
|
|
Value = true;
|
|
Status = "locked";
|
|
};
|
|
in
|
|
{
|
|
programs = {
|
|
# firefox = {
|
|
# enable = true;
|
|
# package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
|
|
# extraPolicies = {
|
|
# DisableTelemetry = true;
|
|
# DisableFirefoxStudies = true;
|
|
# EnableTrackingProtection = {
|
|
# Value= true;
|
|
# Locked = true;
|
|
# Cryptomining = true;
|
|
# Fingerprinting = true;
|
|
# };
|
|
# DisablePocket = true;
|
|
# DisableFirefoxAccounts = true;
|
|
# DisableAccounts = true;
|
|
# DisableFirefoxScreenshots = true;
|
|
# OverrideFirstRunPage = "";
|
|
# OverridePostUpdatePage = "";
|
|
# DontCheckDefaultBrowser = true;
|
|
# DisplayBookmarksToolbar = "always"; # alternatives: "always" or "newtab"
|
|
# DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on"
|
|
# SearchBar = "unified"; # alternative: "separate"
|
|
|
|
# /* ---- EXTENSIONS ---- */
|
|
# ExtensionSettings = {
|
|
# "*".installation_mode = "allowed"; # blocks all addons except the ones specified below
|
|
# # Enpass
|
|
# "firefox-enpass@enpass.io" = {
|
|
# install_url = "https://dl.enpass.io/stable/extensions/firefox/versions/v6.11.10.2/enpass_password_manager-6.11.10.2.xpi";
|
|
# installation_mode = "force_installed";
|
|
# };
|
|
# };
|
|
|
|
# /* ---- PREFERENCES ---- */
|
|
# # Set preferences shared by all profiles.
|
|
# Preferences = {
|
|
# "browser.contentblocking.category" = { Value = "strict"; Status = "locked"; };
|
|
# "extensions.pocket.enabled" = lock-false;
|
|
# "extensions.screenshots.disabled" = lock-true;
|
|
# "browser.topsites.contile.enabled" = lock-false;
|
|
# "browser.formfill.enable" = lock-false;
|
|
# "browser.search.suggest.enabled" = lock-false;
|
|
# "browser.search.suggest.enabled.private" = lock-false;
|
|
# "browser.urlbar.suggest.searches" = lock-false;
|
|
# "browser.urlbar.showSearchSuggestionsFirst" = lock-false;
|
|
# "browser.newtabpage.activity-stream.feeds.section.topstories" = lock-false;
|
|
# "browser.newtabpage.activity-stream.feeds.snippets" = lock-false;
|
|
# "browser.newtabpage.activity-stream.section.highlights.includePocket" = lock-false;
|
|
# "browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = lock-false;
|
|
# "browser.newtabpage.activity-stream.section.highlights.includeDownloads" = lock-false;
|
|
# "browser.newtabpage.activity-stream.section.highlights.includeVisited" = lock-false;
|
|
# "browser.newtabpage.activity-stream.showSponsored" = lock-false;
|
|
# "browser.newtabpage.activity-stream.system.showSponsored" = lock-false;
|
|
# "browser.newtabpage.activity-stream.showSponsoredTopSites" = lock-false;
|
|
# };
|
|
# };
|
|
# };
|
|
# };
|
|
};
|
|
programs.home-manager.enable = true;
|
|
}
|