home-manager/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 Replace pkgs.hostPlatform by pkgs.stdenv.hostPlatform 2021-12-03 23:36:50 +01:00
i18n/input-method kime: Fix kime systemd service broken (#2621) 2022-01-17 13:53:42 -05:00
lib twmn: add module 2022-02-04 01:05:04 +01:00
lib-bash treewide: make a few more strings translatable 2022-01-02 11:56:52 +01:00
misc twmn: add module 2022-02-04 01:05:04 +01:00
po Translate using Weblate (Polish) 2022-02-03 23:14:10 +01:00
programs notmuch: fix database creation when using hooks 2022-02-11 00:04:40 +01:00
services notmuch: fix database creation when using hooks 2022-02-11 00:04:40 +01:00
targets Replace pkgs.hostPlatform by pkgs.stdenv.hostPlatform 2021-12-03 23:36:50 +01:00
default.nix
files.nix home-manager: add basic i18n support 2021-12-13 21:47:28 +01:00
home-environment.nix treewide: make a few more strings translatable 2022-01-02 11:56:52 +01:00
manual.nix
modules.nix twmn: add module 2022-02-04 01:05:04 +01:00
systemd-activate.rb
systemd-activate.sh
systemd.nix
xcursor.nix
xresources.nix
xsession.nix xsession: add xplugd service to accompany setxkbmap (#2450) 2021-12-23 15:38:44 -05:00