From 367b0c114f38d5c332f5ee971ad13dd69e302dec Mon Sep 17 00:00:00 2001 From: tilpner Date: Mon, 15 Jun 2020 09:53:06 +0200 Subject: WIP towards module based configuration --- profiles/disableNormandy.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 profiles/disableNormandy.nix (limited to 'profiles/disableNormandy.nix') diff --git a/profiles/disableNormandy.nix b/profiles/disableNormandy.nix new file mode 100644 index 0000000..1dc2dc9 --- /dev/null +++ b/profiles/disableNormandy.nix @@ -0,0 +1,23 @@ +{ config, lib, ... }: with lib; { + options.features.disableNormandy = mkOption { + type = types.bool; + default = false; + description = '' + Normandy enables Mozilla to push changes to the default settings. + Recently this was used to re-enable TLS 1.0 and 1.1 in FF 74, without releasing + a new update. + + Normandy could be used to improve security, by pushing fixes to the default configuration + after a bad release, but it can also be used to introduce/enable anti-features. + + Past activity can be reviewed at https://normandy.cdn.mozilla.net/api/v1/recipe/ + ''; + }; + + config.preferences = mkIf config.features.disableNormandy { + app.normandy = { + enabled = false; + api_url = ""; + }; + }; +} -- cgit v1.2.3