1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-17 16:49:45 +01:00
home-manager/tests/modules/services
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
..
barrier tests: add option test.stubs 2021-09-26 23:26:38 +02:00
devilspie2 tests: add option test.stubs 2021-09-26 23:26:38 +02:00
dropbox tests: add option test.stubs 2021-09-26 23:26:38 +02:00
emacs services/emacs: add option to set emacsclient as the default editor (#2545) 2022-01-10 02:17:13 -05:00
flameshot flameshot: add settings option 2021-10-11 21:47:05 +02:00
fluidsynth tests: add option test.stubs 2021-09-26 23:26:38 +02:00
fnott fnott: remove global properties generation 2021-10-27 00:01:57 +02:00
git-sync tests: add option test.stubs 2021-09-26 23:26:38 +02:00
gpg-agent gpg-agent: fix and enable tests 2021-12-08 00:01:29 +01:00
gromit-mpx gromit-mpx: add module 2021-12-11 19:17:59 +01:00
home-manager-auto-upgrade home-manager.autoUpgrade: add module 2022-01-28 23:42:25 +01:00
kanshi kanshi: allow multiple exec statements per profile 2021-10-03 09:47:22 +02:00
lieer notmuch: fix database creation when using hooks 2022-02-11 00:04:40 +01:00
pantalaimon tests: add option test.stubs 2021-09-26 23:26:38 +02:00
pbgopy tests: add option test.stubs 2021-09-26 23:26:38 +02:00
playerctld playerctld: add module 2021-01-31 12:36:30 +01:00
polybar tests: add option test.stubs 2021-09-26 23:26:38 +02:00
redshift-gammastep tests: add option test.stubs 2021-09-26 23:26:38 +02:00
screen-locker screen-locker: Make xautolock optional, reorganize options (#2343) 2021-10-05 12:58:25 -04:00
swayidle swayidle: add module (#2610) 2022-01-03 12:03:20 -07:00
sxhkd tests: add option test.stubs 2021-09-26 23:26:38 +02:00
syncthing syncthing: add option extraOptions 2022-01-27 00:33:45 +01:00
trayer tests: add option test.stubs 2021-09-26 23:26:38 +02:00
twmn twmn: add module 2022-02-04 01:05:04 +01:00
window-managers herbstluftwm: init module 2021-12-31 10:44:08 +01:00
wlsunset tests: add option test.stubs 2021-09-26 23:26:38 +02:00
xsettingsd xsettingsd: make configurable through module 2021-10-01 01:31:47 +02:00