diff options
| author | Arpit Chakladar <arpit@chakladar.me> | 2026-10-06 02:17:47 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpit@chakladar.me> | 2026-10-06 02:17:47 +0530 |
| commit | d6a630e86487542e322946fd7d5dab6a37a3354c (patch) | |
| tree | 31b0f53668e143746be362da4cddbb2210004d2a /modules/development/pi-coding-agent/assertions.nix | |
| parent | a9354972787d335872a095f990a73f4bddd50809 (diff) | |
| download | home-manager-config-d6a630e86487542e322946fd7d5dab6a37a3354c.tar.gz home-manager-config-d6a630e86487542e322946fd7d5dab6a37a3354c.zip | |
chore: some minor changes and refactoring
Diffstat (limited to 'modules/development/pi-coding-agent/assertions.nix')
| -rw-r--r-- | modules/development/pi-coding-agent/assertions.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/development/pi-coding-agent/assertions.nix b/modules/development/pi-coding-agent/assertions.nix new file mode 100644 index 0000000..aa2e5ba --- /dev/null +++ b/modules/development/pi-coding-agent/assertions.nix @@ -0,0 +1,17 @@ +# Validates pi-coding-agent dependencies +{ config, ... }: +let + cfg = config.development.pi-coding-agent; +in +{ + assertions = [ + { + assertion = !cfg.enable || config.terminal.kitty.enable; + message = '' + development.pi-coding-agent.enable creates a desktop entry using kitty, + but terminal.kitty.enable is not set. + Enable terminal.kitty or disable the desktop entry. + ''; + } + ]; +} |
