diff options
Diffstat (limited to 'modules/programs/neomutt/assertions.nix')
| -rw-r--r-- | modules/programs/neomutt/assertions.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/programs/neomutt/assertions.nix b/modules/programs/neomutt/assertions.nix index 1e4ae27..989d273 100644 --- a/modules/programs/neomutt/assertions.nix +++ b/modules/programs/neomutt/assertions.nix @@ -23,5 +23,12 @@ neomutt requires the email module (mbsync + notmuch) to be enabled. ''; } + { + assertion = !config.programs.neomutt.enable || config.programs.kitty.enable; + message = '' + programs.neomutt is enabled but programs.kitty.enable is not. + neomutt's desktop entry requires kitty as the terminal launcher. Please enable programs.kitty. + ''; + } ]; } |
