add firefox options but don't enable by default

This commit is contained in:
Artemis Tosini 2022-02-19 05:49:28 +00:00
parent dd24b49c51
commit a9e6833328
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
2 changed files with 19 additions and 3 deletions

View file

@ -39,11 +39,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1645036967, "lastModified": 1645072054,
"narHash": "sha256-M3n0pUl4f77mjy5SiiQIqhdQlymQFyPgK49dK/vQNf0=", "narHash": "sha256-I+HkWU1IpRb93VzjayAybj3L2CcJxNlZDhSeSpL3eSw=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4c999b91a5fdef78c71d22cefedd4eac34aff5a7", "rev": "97777606991c3a78040c883fa97791ae77073022",
"type": "github" "type": "github"
}, },
"original": { "original": {

16
home/firefox.nix Normal file
View file

@ -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;
};
};
}