mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 13:39:46 +01:00
astroid: require notmuch synchronize flags
This commit is contained in:
parent
c21b69e73e
commit
fa3d1f98e0
1 changed files with 8 additions and 0 deletions
|
@ -106,6 +106,14 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
assertions = [
|
||||||
|
{
|
||||||
|
assertion = config.programs.notmuch.maildir.synchronizeFlags;
|
||||||
|
message = "The astroid module requires"
|
||||||
|
+ " 'programs.notmuch.maildir.synchronizeFlags = true'.";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
home.packages = [ pkgs.astroid ];
|
home.packages = [ pkgs.astroid ];
|
||||||
|
|
||||||
xdg.configFile."astroid/config".source =
|
xdg.configFile."astroid/config".source =
|
||||||
|
|
Loading…
Reference in a new issue