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/disableAccounts.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 profiles/disableAccounts.nix (limited to 'profiles/disableAccounts.nix') diff --git a/profiles/disableAccounts.nix b/profiles/disableAccounts.nix new file mode 100644 index 0000000..b074b39 --- /dev/null +++ b/profiles/disableAccounts.nix @@ -0,0 +1,18 @@ +{ config, lib, ... }: with lib; { + options.features.disableAccounts = mkOption { + type = types.bool; + default = false; + description = '' + Disable Firefox Accounts. + + This may inconvenience users who already use them on other devices, + but if we otherwise prevent the local storage of browsing information, + it would be inconsistent to let the user sign in and potentionally + store that same information remotely. + ''; + }; + + config.preferences = mkIf config.features.disableAccounts { + identity.fxaccounts.enabled = false; + }; +} -- cgit v1.2.3