1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-16 16:19:44 +01:00
home-manager/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
..
redshift-gammastep Replace usage of literalExample 2021-10-13 00:16:10 +02:00
window-managers docs: fix a few stray periods 2022-01-25 00:10:25 +01:00
barrier.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
betterlockscreen.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
blueman-applet.nix Add systemd target tray.target (#2027) 2021-05-22 03:15:12 +01:00
caffeine.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
cbatticon.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
clipmenu.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
compton.nix picom: add module 2020-03-24 23:50:22 +01:00
devilspie2.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
dropbox.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
dunst.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
dwm-status.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
easyeffects.nix dbus: improve recommended NixOS configuration 2021-09-23 22:35:30 +02:00
emacs.nix services/emacs: add option to set emacsclient as the default editor (#2545) 2022-01-10 02:17:13 -05:00
etesync-dav.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
flameshot.nix flameshot: extend module with package-option 2021-11-20 09:37:34 +01:00
fluidsynth.nix fluidsynth: add sound service option 2021-08-18 00:38:29 +02:00
fnott.nix treewide: use remove when possible 2021-12-27 09:03:18 +01:00
getmail.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
git-sync.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
gnome-keyring.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
gpg-agent.nix gpg-agent: rewrite hash algo in Nix to avoid IFD 2021-12-08 00:01:29 +01:00
grobi.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
gromit-mpx.nix gromit-mpx: add module 2021-12-11 19:17:59 +01:00
home-manager-auto-upgrade.nix home-manager.autoUpgrade: add module 2022-01-28 23:42:25 +01:00
hound.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
imapnotify-accounts.nix imapnotify: add extraConfig account option 2021-10-18 09:45:23 +02:00
imapnotify.nix notmuch: fix database creation when using hooks 2022-02-11 00:04:40 +01:00
kanshi.nix kanshi: fix maintainers entry for nurelin 2021-12-29 09:50:57 +01:00
kbfs.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
kdeconnect.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
keepassx.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
keybase.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
keynav.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
lieer.nix notmuch: fix database creation when using hooks 2022-02-11 00:04:40 +01:00
lorri.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
mako.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
mbsync.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
mpd.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
mpdris2.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
mpris-proxy.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
muchsync.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
network-manager-applet.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
nextcloud-client.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
notify-osd.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
opensnitch-ui.nix opensnitch-ui: add module 2021-12-12 18:10:10 +01:00
owncloud-client.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
pantalaimon.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
parcellite.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
pass-secret-service.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
password-store-sync.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
pasystray.nix pasystray, status-notifier-watcher: fix maintainers entry for pltanton 2021-12-29 09:50:58 +01:00
pbgopy.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
picom.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
plan9port.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
playerctld.nix playerctld: fix maintainers entry for fendse 2021-12-29 09:50:59 +01:00
plex-mpv-shim.nix plex-mpv-shim: init service (#2655) 2022-02-02 16:34:19 -05:00
polybar.nix polybar: use recursive config type (#2235) 2021-11-15 16:00:45 -05:00
poweralertd.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
pulseeffects.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
random-background.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
rsibreak.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
screen-locker.nix screen-locker: Make xautolock optional, reorganize options (#2343) 2021-10-05 12:58:25 -04:00
spotifyd.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
stalonetray.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
status-notifier-watcher.nix pasystray, status-notifier-watcher: fix maintainers entry for pltanton 2021-12-29 09:50:58 +01:00
swayidle.nix swayidle: fix option documentation 2022-01-06 09:22:42 +01:00
sxhkd.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
syncthing.nix syncthing: add cfg variable for convenience 2022-01-27 00:33:46 +01:00
systembus-notify.nix systembus-notify: add module 2021-12-21 23:35:56 +01:00
taffybar.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
tahoe-lafs.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
taskwarrior-sync.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
trayer.nix trayer: fix maintainers entry for mager 2021-12-29 09:50:59 +01:00
twmn.nix twmn: add module 2022-02-04 01:05:04 +01:00
udiskie.nix Add systemd target tray.target (#2027) 2021-05-22 03:15:12 +01:00
unclutter.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
unison.nix unison: fix option example 2022-01-25 23:54:40 +01:00
volnoti.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
wlsunset.nix docs: fix a few stray periods 2022-01-25 00:10:25 +01:00
xcape.nix xcape: run xcape after setxkbmap (#2198) (#2199) 2021-07-19 21:16:14 -04:00
xembed-sni-proxy.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xidlehook.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xscreensaver.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
xsettingsd.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xsuspender.nix Move platform check into modules 2021-07-18 20:43:22 +02:00