1
0
Fork 0
nixos-config/home-manager/roles/desktop/firefox.nix

35 lines
1.1 KiB
Nix
Raw Normal View History

2021-07-19 22:16:43 +00:00
{ pkgs, ... }: {
programs.firefox = {
profiles.maralorn-default = {
extraConfig = ""; # user.js
userChrome = ""; # css
userContent = ""; # css
settings = {
"browser.search.region" = "DE";
"distribution.searchplugins.defaultLocale" = "de-DE";
"general.useragent.locale" = "de-DE";
"identity.sync.tokenserver.uri" = "https://firefox-sync.maralorn.de/token/1.0/sync/1.5";
2021-07-28 15:45:53 +00:00
"browser.download.useDownloadDir" = "false";
"browser.newtab.extensionControlled" = "true";
"browser.newtab.privateAllowed" = "true";
"font.name.serif.x-western" = "B612";
"services.sync.username" = "firefox@maralorn.de";
2021-07-19 22:16:43 +00:00
};
};
enable = true;
};
programs.browserpass = {
browsers = [ "firefox" ];
enable = true;
};
2021-06-07 00:40:38 +00:00
home.sessionVariables = {
2021-06-07 22:08:46 +00:00
MOZ_ENABLE_WAYLAND = 1; # So that firefox uses wayland.
# So that electron can open firefox links. See
# Issue: https://github.com/electron/electron/issues/28436
# Solution from: https://wiki.archlinux.org/title/Firefox#Applications_on_Wayland_can_not_launch_Firefox
2021-06-07 00:40:38 +00:00
MOZ_DBUS_REMOTE = 1;
};
2020-05-22 01:32:34 +00:00
}