From 6910400bb38bb69a9e81b932b01fa51802cb0c47 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sun, 26 Jul 2026 23:28:11 +0530 Subject: 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 --- modules/web/chawan/assertions.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 modules/web/chawan/assertions.nix (limited to 'modules/web/chawan/assertions.nix') 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. + ''; + } + ]; +} -- cgit v1.2.3