aboutsummaryrefslogtreecommitdiffstats
path: root/modules/web/chromium/extensions/assertions.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-29 22:39:40 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-29 22:39:40 +0530
commit1a87ac2d826b1e5e9d10ef6a8383e2273d8fbc4b (patch)
tree3291c80f2fdbb9c25bc96d3264902e3abb99401a /modules/web/chromium/extensions/assertions.nix
parentee61207548eeb2fe1b174624547ab18855be48c2 (diff)
downloadhome-manager-config-1a87ac2d826b1e5e9d10ef6a8383e2273d8fbc4b.tar.gz
home-manager-config-1a87ac2d826b1e5e9d10ef6a8383e2273d8fbc4b.zip
feat(chromium): use ouch, drop python dep, add assertion; add private configs
- Replace unzip with ouch from file-management.ouch.package - Replace python3-based CRX header parsing with pure shell (od) - Add assertion that file-management.ouch is enabled when chromium is - Thread config through to extension lib - Add bookmark_bar.show_on_all_tabs = false to chromium prefs - Add private modules: cloudflare-warp wireguard, email, git config
Diffstat (limited to 'modules/web/chromium/extensions/assertions.nix')
-rw-r--r--modules/web/chromium/extensions/assertions.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/web/chromium/extensions/assertions.nix b/modules/web/chromium/extensions/assertions.nix
new file mode 100644
index 0000000..52a0081
--- /dev/null
+++ b/modules/web/chromium/extensions/assertions.nix
@@ -0,0 +1,12 @@
+{ config, ... }:
+{
+ assertions = [
+ {
+ assertion = !config.web.chromium.enable || config.file-management.ouch.enable;
+ message = ''
+ web.chromium.enable is true but file-management.ouch.enable is not.
+ chromium extension fetching requires ouch to decompress extension archives. Please enable file-management.ouch.
+ '';
+ }
+ ];
+}