fix: assert unknown profiles in mkHomeConfig; move agent modules to coding/agents

- home/lib/default.nix: add assertion for unknown profile names instead of
  silently filtering them out; remove unused 'inherit (lib) optional'
- home/coding/agents/{opencode,pi}.nix: moved from home/features/coding/
  to co-locate with agents.nix (eliminating cross-directory back-references)
- home/coding/agents/agents.nix: update imports to ./opencode.nix and ./pi.nix
- home/features/coding/: remove now-dead default.nix (nothing imported it)
This commit is contained in:
m3tm3re
2026-04-26 11:17:03 +02:00
parent 73bd2b1f2e
commit 797ffb2b8a
5 changed files with 16 additions and 105 deletions

View File

@@ -19,8 +19,8 @@ in {
imports = [
# OpenCode and Pi agent configurations
../../features/coding/opencode.nix
../../features/coding/pi.nix
./opencode.nix
./pi.nix
];
coding.agents.skills = {