From 05cf64b9f9f5db7f0d292d10a59ac372ff549242 Mon Sep 17 00:00:00 2001 From: Karl Hallsby Date: Sat, 27 Jun 2020 16:01:28 +0200 Subject: [PATCH] mbsync: acc comment explaining why groups attr set is never empty --- modules/programs/mbsync-accounts.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/programs/mbsync-accounts.nix b/modules/programs/mbsync-accounts.nix index 0ad29c4f..fc0bbc5d 100644 --- a/modules/programs/mbsync-accounts.nix +++ b/modules/programs/mbsync-accounts.nix @@ -165,6 +165,9 @@ in { groups = mkOption { type = types.attrsOf (types.submodule perAccountGroups); default = { }; + # The default cannot actually be empty, but contains an attribute set where + # the channels set is empty. If a group is specified, then a name is given, + # creating the attribute set. description = '' Some email providers (Gmail) have a different directory hierarchy for synchronized email messages. Namely, when using mbsync without specifying