diff options
Diffstat (limited to 'profiles/trackingprotection.nix')
-rw-r--r-- | profiles/trackingprotection.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/profiles/trackingprotection.nix b/profiles/trackingprotection.nix new file mode 100644 index 0000000..f729df2 --- /dev/null +++ b/profiles/trackingprotection.nix @@ -0,0 +1,7 @@ +{ config, lib, ... }: { + options.trackingProtection.disableAll = + lib.mkEnableOption "Disable all inbuilt tracking protection"; + + config.preferences.browser.contentblocking.enabled = + lib.mkIf config.trackingProtection.disableAll false; +} |