feat(browsers): add firefox
- add nur - set firefox as main browser - move browsers into separate modules
This commit is contained in:
parent
ed8e9f5914
commit
f3fb292dd1
11 changed files with 96 additions and 40 deletions
34
home/browsers/firefox.nix
Normal file
34
home/browsers/firefox.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue