The task 0031 commit moved the module files but a mis-staged `git add` left the option-path rewrites out, so main declared the old namespaces (`modules.claude-code`, `modules.gitea-axi`, `modules.pi`, `modules.desktop.hyprlock`/`hypridle`) while CONTEXT.md and ADR 0004 already documented the new ones. Rewrite the paths in the moved and in-place modules, the neogaia host, and the two live CLAUDE.md gotchas so the code matches the recorded convention.
23 lines
679 B
Nix
23 lines
679 B
Nix
{
|
|
config,
|
|
lib,
|
|
inputs,
|
|
...
|
|
}:
|
|
# gitea-axi for the primary user, installed through its own home-manager module.
|
|
# That module also declares the Claude Code context when that harness is
|
|
# enabled on the host; enabling this alone installs the CLI and nothing else.
|
|
let
|
|
cfg = config.modules.agents.tools.gitea-axi;
|
|
user = config.user.name;
|
|
in
|
|
{
|
|
options.modules.agents.tools.gitea-axi.enable =
|
|
lib.mkEnableOption "gitea-axi, an agent-ergonomic CLI for Gitea issues and pull requests";
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
home-manager.sharedModules = [ inputs.gitea-axi.homeModules.default ];
|
|
home-manager.users.${user}.programs.gitea-axi.enable = true;
|
|
};
|
|
}
|