Compare commits

...

2 Commits

Author SHA1 Message Date
m3tm3re
f7a1591451 merge flake inputs 2026-01-26 20:53:49 +01:00
m3tm3re
b6dab69d42 chore folder renaming for opencode: skill -> skills, command -> sommands 2026-01-26 20:50:39 +01:00
3 changed files with 24 additions and 21 deletions

31
flake.lock generated
View File

@@ -24,14 +24,17 @@
"agents": {
"flake": false,
"locked": {
"lastModified": 1769242935,
"narHash": "sha256-3Ey1NAm4EKBA14AvUvq6Hv6KQvbSvWxB4gha0LBkqpo=",
"path": "/home/m3tam3re/p/MISC/AGENTS",
"type": "path"
"lastModified": 1769456525,
"narHash": "sha256-pJyKv5X1iw+iIVe8nPynfyaK+Q9v009Q6mIgTfJRGIA=",
"ref": "refs/heads/master",
"rev": "63cd7fe102879b6cb4543412926f0208b89c2ac4",
"revCount": 16,
"type": "git",
"url": "https://code.m3ta.dev/m3tam3re/AGENTS"
},
"original": {
"path": "/home/m3tam3re/p/MISC/AGENTS",
"type": "path"
"type": "git",
"url": "https://code.m3ta.dev/m3tam3re/AGENTS"
}
},
"base16-schemes": {
@@ -241,11 +244,11 @@
"opencode": "opencode"
},
"locked": {
"lastModified": 1769220120,
"narHash": "sha256-XpGKzBkWK+yCTUiXDB6Pg5mzbrf75QS1k505rz7TxCU=",
"lastModified": 1769436049,
"narHash": "sha256-BXpa8fLOZ4sHw3kH71tSTzdecov7O9a184b9pd/hrzw=",
"ref": "refs/heads/master",
"rev": "ec315e05343a260bbf99f0acc9a8157aef440c75",
"revCount": 69,
"rev": "9cff518954b14344734f0119bc0389d589c50914",
"revCount": 73,
"type": "git",
"url": "https://code.m3ta.dev/m3tam3re/nixpkgs"
},
@@ -540,16 +543,16 @@
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1769153255,
"narHash": "sha256-ardM8zEJWvTvsFMQZWivjGPB2uIqFw6QPAzrRjAHQKY=",
"lastModified": 1769362166,
"narHash": "sha256-ovFGFI2dSZLKSeuanRZg9cNvMCxYnS3UbtaCKls5BYQ=",
"owner": "anomalyco",
"repo": "opencode",
"rev": "c130dd425a32fe1c1cd3747ea6565b0e6bf50100",
"rev": "056186225b6648cd5244d2cb0b05622b95343dc6",
"type": "github"
},
"original": {
"owner": "anomalyco",
"ref": "v1.1.34",
"ref": "v1.1.36",
"repo": "opencode",
"type": "github"
}

View File

@@ -45,8 +45,8 @@
nix-colors.url = "github:misterio77/nix-colors";
agents = {
url = "path:/home/m3tam3re/p/MISC/AGENTS";
# url = "git+https://code.m3ta.dev/m3tam3re/AGENTS";
# url = "path:/home/m3tam3re/p/AI/AGENTS";
url = "git+https://code.m3ta.dev/m3tam3re/AGENTS";
flake = false;
};
};

View File

@@ -1,7 +1,7 @@
{inputs, ...}: {
xdg.configFile = {
"opencode/command" = {
source = "${inputs.agents}/command";
"opencode/commands" = {
source = "${inputs.agents}/commands";
recursive = true;
};
"opencode/context" = {
@@ -12,8 +12,8 @@
source = "${inputs.agents}/prompts";
recursive = true;
};
"opencode/skill" = {
source = "${inputs.agents}/skill";
"opencode/skills" = {
source = "${inputs.agents}/skills";
recursive = true;
};
};
@@ -25,7 +25,7 @@
plugin = ["oh-my-opencode" "opencode-beads" "opencode-antigravity-auth@beta"];
agent =
builtins.fromJSON
(builtins.readFile "${inputs.agents}/agent/agents.json");
(builtins.readFile "${inputs.agents}/agents/agents.json");
formatter = {
alejandra = {
command = ["alejandra" "-q" "-"];