refactor
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{ inputs, config, ... }:
|
||||
let
|
||||
account = config.repo.account;
|
||||
hmModules = config.flake.modules.homeManager;
|
||||
in
|
||||
{
|
||||
@@ -18,12 +17,7 @@ in
|
||||
};
|
||||
|
||||
flake.modules.homeManager.ai =
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.mcp = {
|
||||
enable = true;
|
||||
@@ -36,32 +30,5 @@ in
|
||||
home.packages = [
|
||||
pkgs.llm-agents.codex
|
||||
];
|
||||
|
||||
# programs.codex = {
|
||||
# enable = true;
|
||||
# package = pkgs.llm-agents.codex;
|
||||
# enableMcpIntegration = true;
|
||||
# settings = {
|
||||
# model = "gpt-5.5";
|
||||
# model_reasoning_effort = "high";
|
||||
# plan_mode_reasoning_effort = "high";
|
||||
# tui.status_line = [
|
||||
# "model-with-reasoning"
|
||||
# "current-dir"
|
||||
# "git-branch"
|
||||
# "context-remaining"
|
||||
# "five-hour-limit"
|
||||
# ];
|
||||
# projects.${account.nixosConfigurationPath}.trust_level = "trusted";
|
||||
# projects."${config.home.homeDirectory}/work/repos/yookr-data-science".trust_level = "trusted";
|
||||
# sandbox_mode = "workspace-write";
|
||||
# personality = "pragmatic";
|
||||
# features.undo = true;
|
||||
# mcp_servers.nixos = config.programs.mcp.servers.nixos // {
|
||||
# enabled = true;
|
||||
# default_tools_approval_mode = "approve";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user