1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-30 14:11:02 +01:00
home-manager/tests/modules/programs/khard
octvs 5e6a8203ce
khard: add option to set mutiple subdirs (#6823)
Add new option `accounts.contact.accounts.<name>.khard.addressbooks`.

Remove the previous soln,
`accounts.contact.accounts.<name>.khard.defaultCollection`, which is
superseded with the new option.

Add a new test to check the new `addressbooks` option. Modify an
existing test which was checking the removed `defaultCollection`.

Previous commit a38f88 allowed a hardcoded path to be set for khard if
the path set for its local storage is not the actual `vdir`. This was
accomplished via adding the `defaultCollection` option. However this
accepted only a single sub-directory, and when one has more than a
single collection on the same dir this would require repetition on
configuration to set [1].

This is a continuation of the soln given to
nix-community/home-manager#4531, refer to there and the previous PR [2]
for reference.

[1]: https://github.com/nix-community/home-manager/issues/4531#issuecomment-2701156246
[2]: https://github.com/nix-community/home-manager/pull/5220
2025-04-18 09:38:13 -05:00
..
basic_config.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
basic_config_expected khard: add module 2023-10-01 09:29:05 +02:00
default.nix khard: add option to set mutiple subdirs (#6823) 2025-04-18 09:38:13 -05:00
dirty_path.nix khard: add option to set mutiple subdirs (#6823) 2025-04-18 09:38:13 -05:00
dirty_path_expected khard: add option to set mutiple subdirs (#6823) 2025-04-18 09:38:13 -05:00
empty_config.nix tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
empty_config_expected khard: add module 2023-10-01 09:29:05 +02:00
multiple_accounts.nix tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
multiple_accounts_expected khard: add module 2023-10-01 09:29:05 +02:00
multiple_with_abooks.nix khard: add option to set mutiple subdirs (#6823) 2025-04-18 09:38:13 -05:00
multiple_with_abooks_expected khard: add option to set mutiple subdirs (#6823) 2025-04-18 09:38:13 -05:00