1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-28 20:59:47 +01:00
home-manager/tests/modules
Thibaut Marty 6d9d9294d0
notmuch: fix database creation when using hooks
When an hook is defined, a side effect was the creation of the
${notmuchIni.database.path}/.notmuch/ directory by home-manager. If
the Xapian database does not exist yet but this .notmuch directory
exists, Notmuch is confused and throws an error when `notmuch new` is
run (while this should create the database the first time).

This commit changes the hooks paths to $XDG_CONFIG_HOME where Notmuch
expects them (see notmuch-config(1)) instead of inside the maildir
database directory.

It also moves the configuration where Notmuch expects it, but the
$NOTMUCH_CONFIG environment variable is kept for backward
compatibility.
2022-02-11 00:04:40 +01:00
..
accounts tests: allow testing assertions 2021-02-07 22:48:22 +01:00
config/i18n i18n: set the appropriate LOCALE_ARCHIVE_x_xx variable (#1659) 2021-01-23 15:56:38 +01:00
files files: assert that target files are unique 2021-06-27 17:10:45 +02:00
home-environment xdg: add option 'xdg.stateHome' (#2439) 2021-11-04 17:42:44 +01:00
i18n/input-method kime: Fix kime systemd service broken (#2621) 2022-01-17 13:53:42 -05:00
misc xdg-desktop-entries: reflect changes in makeDesktopItem API (#2496) 2022-01-04 22:58:20 -05:00
programs kitty: add option theme (#2710) 2022-02-08 11:54:24 -07:00
services notmuch: fix database creation when using hooks 2022-02-11 00:04:40 +01:00
systemd systemd: do not install systemd files when user is root (#2454) 2021-11-23 01:06:43 -05:00
targets-darwin tree-wide: update url to the repo 2020-10-22 22:41:56 +02:00
targets-linux xdg.systemDirs: init module (#1797) 2021-05-10 20:14:42 -04:00
xresources xresources: add missing test file 2020-06-28 11:23:34 +02:00