fix(agents): correct shared-options.nix import paths from ../ to ./
This commit is contained in:
parent
cec0c31d91
commit
fa339ae8cc
3 changed files with 6 additions and 6 deletions
|
|
@ -9,7 +9,7 @@
|
|||
];
|
||||
|
||||
options.coding.agents.claude-code = let
|
||||
shared = import ../shared/shared-options.nix {inherit lib;};
|
||||
shared = import ./shared/shared-options.nix {inherit lib;};
|
||||
mcpCfg = config.programs.mcp or null;
|
||||
in
|
||||
with lib; {
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
};
|
||||
|
||||
config = with lib; let
|
||||
shared = import ../shared/shared-options.nix {inherit lib;};
|
||||
shared = import ./shared/shared-options.nix {inherit lib;};
|
||||
cfg = config.coding.agents.claude-code;
|
||||
agentsLib = (import ../../../../lib {inherit lib;}).agents;
|
||||
in
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
];
|
||||
|
||||
options.coding.agents.opencode = let
|
||||
shared = import ../shared/shared-options.nix {inherit lib;};
|
||||
shared = import ./shared/shared-options.nix {inherit lib;};
|
||||
in
|
||||
with lib; {
|
||||
enable = mkEnableOption "OpenCode agent management via canonical agent.toml definitions";
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
};
|
||||
|
||||
config = with lib; let
|
||||
shared = import ../shared/shared-options.nix {inherit lib;};
|
||||
shared = import ./shared/shared-options.nix {inherit lib;};
|
||||
cfg = config.coding.agents.opencode;
|
||||
in
|
||||
mkIf cfg.enable {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
];
|
||||
|
||||
options.coding.agents.pi = let
|
||||
shared = import ../shared/shared-options.nix {inherit lib;};
|
||||
shared = import ./shared/shared-options.nix {inherit lib;};
|
||||
mcpCfg = config.programs.mcp or null;
|
||||
in
|
||||
with lib; {
|
||||
|
|
@ -205,7 +205,7 @@
|
|||
};
|
||||
|
||||
config = with lib; let
|
||||
shared = import ../shared/shared-options.nix {inherit lib;};
|
||||
shared = import ./shared/shared-options.nix {inherit lib;};
|
||||
cfg = config.coding.agents.pi;
|
||||
in
|
||||
mkIf cfg.enable (let
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue