1
0
Fork 0

Pin firefox config

This commit is contained in:
Malte Brandy 2021-07-20 00:16:43 +02:00
parent b39cbeb1cd
commit f57708b8c9
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
2 changed files with 22 additions and 3 deletions

View file

@ -1,6 +1,24 @@
{ ... }: {
programs.firefox.enable = true;
programs.browserpass.enable = true;
{ pkgs, ... }: {
programs.firefox = {
profiles.maralorn-default = {
extraConfig = ""; # user.js
userChrome = ""; # css
userContent = ""; # css
settings = {
"browser.startup.homepage" = "https://stats.maralorn.de";
"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";
};
};
enable = true;
};
programs.browserpass = {
browsers = [ "firefox" ];
enable = true;
};
home.sessionVariables = {
MOZ_ENABLE_WAYLAND = 1; # So that firefox uses wayland.

View file

@ -17,6 +17,7 @@ let
".local/share/direnv"
".local/share/khal"
".local/share/mpd"
".mozilla/firefox/maralorn-default"
".ssh"
".task"
".vdirsyncer"