mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
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.<name>.local`, since it would default to `null`. The same problem was encountered in the `accounts.calendar` module, and fixed in2c157e22dcwhich has the same solution. Closes #8258 Reported-by: redbeardymcgee (cherry picked from commitbf003999ed)
This commit is contained in:
committed by
Austin Horstman
parent
f3902b5d87
commit
9ea0c94e00
@@ -102,8 +102,8 @@ let
|
||||
};
|
||||
|
||||
local = mkOption {
|
||||
type = types.nullOr (localModule name);
|
||||
default = null;
|
||||
type = localModule name;
|
||||
default = { };
|
||||
description = ''
|
||||
Local configuration for the contacts.
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user