Migrate to devenv

This commit is contained in:
Alexander
2026-06-24 16:57:43 +02:00
parent 86db3ca091
commit 1016f1e17e
8 changed files with 225 additions and 116 deletions
+36
View File
@@ -0,0 +1,36 @@
{ pkgs, inputs, ... }:
{
languages.go = {
enable = true;
delve.enable = true;
};
packages = with pkgs; [
curl
jq
mitmproxy
claude-code
opencode
];
git-hooks.hooks = {
gofmt.enable = true;
nixfmt-rfc-style.enable = true;
};
outputs = {
proxy = pkgs.callPackage ./package.nix {
inherit (inputs.gitignore.lib) gitignoreSource;
};
};
enterShell = ''
export GOPATH="$PWD/.go"
export PATH="$GOPATH/bin:$PATH"
#export ANTHROPIC_BASE_URL=http://localhost:8082
#export ANTHROPIC_API_KEY=sk-cliproxy-fujin
'';
}