Apply a codebase-wide comment audit against the comment conventions: split banned semicolons and multi-sentence lines into one sentence per line, cut cross-file and history narration, trim file-top headers to a single purpose line, and drop verbosity that did not earn its place. Prose docs (CLAUDE.md, install.md) get the same one-sentence-per-line and no-semicolon treatment.
21 lines
528 B
Nix
21 lines
528 B
Nix
{
|
|
config,
|
|
lib,
|
|
inputs,
|
|
...
|
|
}:
|
|
# gitea-axi for the primary user, installed through its own home-manager module.
|
|
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;
|
|
};
|
|
}
|