From 41bdeb88009dd232808edee9fc0e4ae94358d8d6 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sat, 29 Aug 2026 02:02:23 +0530 Subject: refactor: moving script into modules that makes sense - instead of collecting all scripts into modules/scripts we are moving them to modules that makes sense (yazi-file-chooser.sh into yazi) --- modules/system/system-monitor/assertions.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 modules/system/system-monitor/assertions.nix (limited to 'modules/system/system-monitor/assertions.nix') diff --git a/modules/system/system-monitor/assertions.nix b/modules/system/system-monitor/assertions.nix new file mode 100644 index 0000000..08b9f7c --- /dev/null +++ b/modules/system/system-monitor/assertions.nix @@ -0,0 +1,19 @@ +{ config, ... }: +[ + { + assertion = !config.system.system-monitor.enable || config.system.bottom.enable; + message = "system.system-monitor is enabled but requires `system.bottom.enable`."; + } + { + assertion = !config.system.system-monitor.enable || config.system.nvtop.enable; + message = "system.system-monitor is enabled but requires `system.nvtop.enable`."; + } + { + assertion = !config.system.system-monitor.enable || config.terminal.tmux.enable; + message = "system.system-monitor is enabled but requires `terminal.tmux.enable`."; + } + { + assertion = !config.system.system-monitor.enable || config.terminal.kitty.enable; + message = "system.system-monitor is enabled but requires `terminal.kitty.enable`."; + } +] -- cgit v1.2.3