1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2025-02-18 14:15:08 +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
config/i18n
files files: assert that target files are unique 2021-06-27 17:10:45 +02:00
home-environment
i18n/input-method kime: Fix kime systemd service broken (#2621) 2022-01-17 13:53:42 -05:00
misc
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
targets-darwin
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