feat(browsers): add firefox

- add nur
- set firefox as main browser
- move browsers into separate modules
This commit is contained in:
Felix Schröter 2020-08-14 23:41:20 +02:00
parent ed8e9f5914
commit f3fb292dd1
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
11 changed files with 96 additions and 40 deletions

34
home/browsers/firefox.nix Normal file
View file

@ -0,0 +1,34 @@
{ config, pkgs, ... }:
let
firefox-addons = pkgs.nur.repos.rycee.firefox-addons;
in
{
programs.firefox = {
enable = true;
package = pkgs.firefox.override {
cfg = {
enableFXCastBridge = true;
};
};
profiles = {
private = {
id = 0;
};
work = {
id = 1;
};
};
extensions = with firefox-addons; [
https-everywhere
ublock-origin
decentraleyes
vimium
ipfs-companion
firefox-addons."1password-x-password-manager"
darkreader
# languagetool # not available :/
# fx_cast # TODO not published yet
];
};
}