From 47eb2d80f943521ec88fe92899925c5f444c8a5c Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Fri, 11 Apr 2025 05:29:30 +0200 Subject: [PATCH] accounts/contact: add sensible defaults to the localModule (#6799) This adds defaults to the `localModule` that match the ones in accounts/calendar. This way there is no need to explicitly define the local part, only if the defaults should be changed. --- modules/accounts/contacts.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/accounts/contacts.nix b/modules/accounts/contacts.nix index 4f88e15c..6b42151c 100644 --- a/modules/accounts/contacts.nix +++ b/modules/accounts/contacts.nix @@ -21,12 +21,13 @@ let "filesystem" "singlefile" ]; + default = "filesystem"; description = "The type of the storage."; }; fileExt = mkOption { type = types.nullOr types.str; - default = null; + default = ".vcf"; description = "The file extension to use."; };