diff options
author | tilpner | 2020-06-15 09:53:06 +0200 |
---|---|---|
committer | tilpner | 2020-06-15 09:53:06 +0200 |
commit | 367b0c114f38d5c332f5ee971ad13dd69e302dec (patch) | |
tree | ec0c5ee3e7e1f0a30517599e51bd0c8172635158 /profiles/disableAccounts.nix | |
parent | 2992d92e6ce0d7c96ccded0747d8815d8cfed956 (diff) | |
download | firefox-profiles-367b0c114f38d5c332f5ee971ad13dd69e302dec.tar.gz firefox-profiles-367b0c114f38d5c332f5ee971ad13dd69e302dec.tar.xz firefox-profiles-367b0c114f38d5c332f5ee971ad13dd69e302dec.zip |
WIP towards module based configuration
Diffstat (limited to 'profiles/disableAccounts.nix')
-rw-r--r-- | profiles/disableAccounts.nix | 18 |
1 files changed, 18 insertions, 0 deletions
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; + }; +} |