From a9e683332822af0b7d03181c740871b4417d7b2f Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Sat, 19 Feb 2022 05:49:28 +0000 Subject: [PATCH] add firefox options but don't enable by default --- flake.lock | 6 +++--- home/firefox.nix | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 home/firefox.nix diff --git a/flake.lock b/flake.lock index e4a11d3..fe4186f 100644 --- a/flake.lock +++ b/flake.lock @@ -39,11 +39,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1645036967, - "narHash": "sha256-M3n0pUl4f77mjy5SiiQIqhdQlymQFyPgK49dK/vQNf0=", + "lastModified": 1645072054, + "narHash": "sha256-I+HkWU1IpRb93VzjayAybj3L2CcJxNlZDhSeSpL3eSw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "4c999b91a5fdef78c71d22cefedd4eac34aff5a7", + "rev": "97777606991c3a78040c883fa97791ae77073022", "type": "github" }, "original": { diff --git a/home/firefox.nix b/home/firefox.nix new file mode 100644 index 0000000..648658c --- /dev/null +++ b/home/firefox.nix @@ -0,0 +1,16 @@ +{ pkgs, ... }: + +{ + programs.firefox = { + enable = true; + package = pkgs.firefox-wayland; + profiles.default.settings = { + "app.shield.outputstudies.enabled" = false; + "privacy.firstparty.isolate" = true; + "devtools.theme" = "light"; + "browser.urlbar.switchTabs.adoptIntoActiveWindow" = true; + "browser.newtabpage.activity-stream.feeds.topsites" = false; + "browser.newtabpage.activity-stream.feeds.section.topstories" = false; + }; + }; +}