blob: aa2e5ba14eb8b989e0782c7d7b43ddfb457bd748 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.
'';
}
];
}
|