mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-04 16:11:06 +01: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 in
2c157e22dc which has the same solution.
Closes #8258
Reported-by: redbeardymcgee
This commit is contained in:
parent
ff067cfc61
commit
bf003999ed
1 changed files with 2 additions and 2 deletions
|
|
@ -102,8 +102,8 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
local = mkOption {
|
local = mkOption {
|
||||||
type = types.nullOr (localModule name);
|
type = localModule name;
|
||||||
default = null;
|
default = { };
|
||||||
description = ''
|
description = ''
|
||||||
Local configuration for the contacts.
|
Local configuration for the contacts.
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue