From 8ea1b0f28315496a02c27afda9b2646c67617f4b Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Fri, 27 Dec 2024 01:11:08 +0100 Subject: [PATCH] add website filter --- config.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/config.nix b/config.nix index 94f1fc8..1ee1326 100644 --- a/config.nix +++ b/config.nix @@ -85,6 +85,28 @@ in firefox = { enable = true; package = pkgs.firefox-esr; + policies = { + SupportMenu = { + Title = "Config"; + URL = "https://git.hamburg.ccc.de/jopejoe1/c3terminal"; + }; + WebsiteFilter = { + Block = [ + "" + ]; + Exceptions = [ + "https://c3nav.de/" + ]; + }; + Preferences = { + "browser.ssb.enabled" = lock true; + #"ui.osk.detected_physical_keyboard" = lock false; + #"browser.gesture.pinch.in" = lock false; + #"browser.gesture.pinch.out" = lock false; + "zoom.maxPercent" = lock 100; + "zoom.minPercent" = lock 100; + }; + }; profiles = { default = { id = 0;