From bf003999ed42d7168c9f3ffd3534fa1b51df4faf Mon Sep 17 00:00:00 2001 From: Anton Mosich Date: Tue, 2 Dec 2025 20:27:33 +0100 Subject: [PATCH] accounts.contacts: fix eval error You would encounter an eval error when a module (such as pimsync) would try to access an attribute of `accounts.contacts..local`, since it would default to `null`. The same problem was encountered in the `accounts.calendar` module, and fixed in 2c157e22dcf2c08e38a95b557ba6785e882b8bc0 which has the same solution. Closes #8258 Reported-by: redbeardymcgee --- modules/accounts/contacts.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/accounts/contacts.nix b/modules/accounts/contacts.nix index 780f6bb58..506b66a13 100644 --- a/modules/accounts/contacts.nix +++ b/modules/accounts/contacts.nix @@ -102,8 +102,8 @@ let }; local = mkOption { - type = types.nullOr (localModule name); - default = null; + type = localModule name; + default = { }; description = '' Local configuration for the contacts. '';