From 4547e75868cba2a265b78661ddc386b5e81c1bb0 Mon Sep 17 00:00:00 2001 From: gramanas Date: Mon, 7 Oct 2024 11:47:06 +0300 Subject: init --- home-manager/programs/firefox/default.nix | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 home-manager/programs/firefox/default.nix (limited to 'home-manager/programs/firefox') diff --git a/home-manager/programs/firefox/default.nix b/home-manager/programs/firefox/default.nix new file mode 100644 index 0000000..01ef321 --- /dev/null +++ b/home-manager/programs/firefox/default.nix @@ -0,0 +1,36 @@ +{pkgs, ...}: { + programs.firefox = { + enable = true; + package = pkgs.firefox; + + profiles.default = { + id = 0; + isDefault = true; + + extensions = with pkgs.nur.repos.rycee.firefox-addons; [ + translate-web-pages + ublock-origin + ]; + + settings = { + "browser.tabs.loadBookmarksInTabs" = true; # Opening bookmarks in new tabs + "browser.tabs.firefox-view" = false; + "browser.newtabpage.activity-stream.section.highlights.includePocket" = false; # Disable pocket + "extensions.pocket.enabled" = false; # Disable pocket + "identity.fxaccounts.enabled" = false; # Disable Firefox accounts integration + "media.eme.enabled" = true; # Enable DRM + "media.gmp-widevinecdm.visible" = true; # Enable DRM + "media.gmp-widevinecdm.enabled" = true; # Enable DRM + "media.videocontrols.picture-in-picture.video-toggle.always-show" = true; # Always shows the Picture in Picture toggle + "narrate.enabled" = false; # Disable text to speech in reader mode + "signon.autofillForms" = false; # Disable built-in form-filling + "signon.rememberSignons" = false; # Disable built-in password manager + "ui.systemUsesDarkTheme" = true; # Dark mode + }; + + # search = { + # default = "Google"; + # }; + }; + }; +} -- cgit v1.2.3