Skip to content

Commit

Permalink
add dark reader
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanwang-wf committed Oct 19, 2024
1 parent 476f07b commit c98baf0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/browsers/firefox.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,10 @@ in
};
# https://github.com/llakala/nixos/blob/ffc71bb84cb95dd813795d4cb0beb99cebf8a4e0/base/software/home/firefox.nix
programs.firefox.policies.Preferences = {

"browser.in-content.dark-mode" = true; # Use dark mode
"ui.systemUsesDarkTheme" = true;

"extensions.autoDisableScopes" = 0; # Automatically enable extensions
"extensions.update.enabled" = false;

"widget.use-xdg-desktop-portal.file-picker" = 1; # Use new gtk file picker instead of legacy one
};
# programs.firefox.nativeMessagingHosts = [
Expand All @@ -59,6 +56,7 @@ in
kagi-search
userchrome-toggle-extended
sidebery
darkreader
# curl -sS https://addons.mozilla.org/api/v5/addons/search/\?q\=mtab | jq -r '.results[0].current_version.file'
(buildFirefoxXpiAddon {
pname = "mtab";
Expand Down

0 comments on commit c98baf0

Please sign in to comment.