From 506d02694b2f6c7d7f8861b3048523c3f07531ba Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 5 Dec 2023 13:42:04 +0300 Subject: [PATCH] home/jan: use settings to configure librewolf overrides --- home/users/jan/browser/librewolf.overrides.cfg | 1 - home/users/jan/home.nix | 16 ++++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) delete mode 100644 home/users/jan/browser/librewolf.overrides.cfg diff --git a/home/users/jan/browser/librewolf.overrides.cfg b/home/users/jan/browser/librewolf.overrides.cfg deleted file mode 100644 index 7386f47..0000000 --- a/home/users/jan/browser/librewolf.overrides.cfg +++ /dev/null @@ -1 +0,0 @@ -defaultPref("webgl.disabled", false); diff --git a/home/users/jan/home.nix b/home/users/jan/home.nix index ab54384..25452d5 100644 --- a/home/users/jan/home.nix +++ b/home/users/jan/home.nix @@ -33,6 +33,18 @@ options = [ "grp:win_space_toggle" ]; }; + # a fork of firefox, focused on privacy, security and freedom + programs.librewolf = { + enable = true; + package = with pkgs.unstable; librewolf.override { + nativeMessagingHosts = [ passff-host ]; + }; + # See: https://librewolf.net/docs/settings/ + settings = { + "webgl.disabled" = false; + }; + }; + home.packages = with pkgs.unstable; [ tdesktop # telegram client nheko # matrix client @@ -52,10 +64,6 @@ bind.dnsutils # browsers - # a fork of firefox, focused on privacy, security and freedom - (librewolf.override { - nativeMessagingHosts = [ passff-host ]; - }) # ungoogled-chromium tor-browser-bundle-bin