diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-26 23:28:11 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-26 23:28:11 +0530 |
| commit | 6910400bb38bb69a9e81b932b01fa51802cb0c47 (patch) | |
| tree | d291a7c6e18b9b669b9a405cad9cfc5ba10547ee /modules/web/chawan/assertions.nix | |
| parent | b93a73ba98e94cbb971dce6554c7c55bce517c0e (diff) | |
| download | home-manager-config-6910400bb38bb69a9e81b932b01fa51802cb0c47.tar.gz home-manager-config-6910400bb38bb69a9e81b932b01fa51802cb0c47.zip | |
feat: replace w3m with chawan for HTML rendering and web browsing
- Create web.chawan module with enable/package options, kitty desktop entry, and programs.chawan.settings (buffer.images=true, display.image-mode=auto)
- Update neomutt macros, mailcap, and assertions from w3m to chawan
- Switch waybar window-rewrite and workspace icon from W3M to Chawan
- Drop web/w3m module
Diffstat (limited to 'modules/web/chawan/assertions.nix')
| -rw-r--r-- | modules/web/chawan/assertions.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/web/chawan/assertions.nix b/modules/web/chawan/assertions.nix new file mode 100644 index 0000000..2ab30a0 --- /dev/null +++ b/modules/web/chawan/assertions.nix @@ -0,0 +1,13 @@ +# Assertions - Validates kitty is enabled for chawan desktop entry +{ config, ... }: +{ + assertions = [ + { + assertion = !config.web.chawan.enable || config.terminal.kitty.enable; + message = '' + web.chawan is enabled but terminal.kitty.enable is not. + chawan's desktop entry requires kitty as the terminal launcher. Please enable terminal.kitty. + ''; + } + ]; +} |
