nix-community / home-manager

Manage a user environment using Nix [maintainer=@rycee]
https://nix-community.github.io/home-manager/
MIT License
7.06k stars 1.82k forks source link

bug: neomutt doesn't reset the signature when changing accounts #2876

Closed toon23 closed 2 years ago

toon23 commented 2 years ago

Is there an existing issue for this?

Issue description

I've multiple mail accounts configured, and one of them has no signature. If I change to this account, the signature of the previous account is set. Please add unset signature in the account hook, if no signature is specified for the account.

Maintainer CC

No response

System information

error (ignored): error: end of string reached
error: getting status of '/var/src/config': No such file or directory
(use '--show-trace' to show detailed location information)
 - system: `0`
 - host os: `Linux 5.10.109, NixOS, 21.11 (Porcupine)`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.5.0pre20211206_d1aaa7e`
 - channels(toon): `""`
 - channels(root): `""`
 - nixpkgs: `/nix/store/9dmig1pv9njj5kswvs8yvw3qp6b81zkd-source`
toon23 commented 2 years ago

Hi, thank you for your fast fix @sumnerevans! I've tested your pull request an this works like expected, the signature is now reset via folder-hook.

toon23 commented 2 years ago

Reopen until pull request #2877 is merged.