Overwrite emacs package with newer agent shell version

This commit is contained in:
Tobias Ostner 2026-03-20 15:00:49 +01:00
parent bfc0d191ca
commit f15dd52e68

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, lib, ... }:
{ {
home.file.".emacs.d/early-init.el".source = ./config/early-init.el; home.file.".emacs.d/early-init.el".source = ./config/early-init.el;
home.file.".emacs.d/tree-sitter/libtree-sitter-swift.dylib".source = ./config/tree-sitter/libtree-sitter-swift.dylib; home.file.".emacs.d/tree-sitter/libtree-sitter-swift.dylib".source = ./config/tree-sitter/libtree-sitter-swift.dylib;
@ -8,71 +8,109 @@
enable = true; enable = true;
extraConfig = builtins.readFile ./config/init.el + extraConfig = builtins.readFile ./config/init.el +
builtins.readFile ./config/lisp/utils.el; builtins.readFile ./config/lisp/utils.el;
extraPackages = epkgs: (with epkgs; [ extraPackages = epkgs:
agent-shell let
apheleia myEpkgs = epkgs.overrideScope (final: prev: {
avy shell-maker = prev.shell-maker.overrideAttrs (_: {
cape version = "0.90.1";
cider src = pkgs.fetchFromGitHub {
clojure-mode owner = "xenodium";
consult repo = "shell-maker";
consult-denote rev = "55f829d179608a3c4b11e86427713d5be7c4bb58";
copilot hash = "sha256-tFzyVXxgrR6LOPUhX4MgJNLy3PX+pwprjdYi+IZXr+E=";
corfu };
denote });
dockerfile-mode
ef-themes agent-shell = final.melpaBuild {
eglot pname = "agent-shell";
envrc ename = "agent-shell";
exec-path-from-shell version = "0.47.3";
flycheck
flycheck-clj-kondo src = pkgs.fetchFromGitHub {
flycheck-swiftlint owner = "xenodium";
graphql-mode repo = "agent-shell";
helpful rev = "v0.50.1";
htmlize hash = "sha256-y3WKd7w9zNebNlP3phMLmMbrFd+MHqwwJH/dUP6VSlo=";
jinx };
js2-mode
json-mode packageRequires = with final; [
ledger-mode acp
ligature shell-maker
markdown-mode ];
minions
multiple-cursors meta = {
nerd-icons homepage = "https://github.com/xenodium/agent-shell";
nerd-icons-completion description = "Native agentic integrations for Claude Code, Gemini CLI, etc";
nerd-icons-corfu };
nerd-icons-dired };
nerd-icons-ibuffer });
ob-restclient in
ob-swift with myEpkgs; [
olivetti agent-shell
orderless apheleia
org avy
org-modern cape
ox-gfm cider
ox-reveal clojure-mode
pulsar consult
rainbow-delimiters consult-denote
rainbow-mode copilot
restclient corfu
smartparens denote
swift-mode dockerfile-mode
super-save ef-themes
terraform-mode eglot
treesit-auto envrc
ob-typescript exec-path-from-shell
yaml-mode flycheck
vterm flycheck-clj-kondo
fontaine flycheck-swiftlint
magit flymake-collection
magit-todos graphql-mode
marginalia helpful
modus-themes htmlize
nix-mode jinx
vertico js2-mode
winpulse json-mode
yasnippet ledger-mode
]); ligature
markdown-mode
minions
multiple-cursors
nerd-icons
nerd-icons-completion
nerd-icons-corfu
nerd-icons-dired
nerd-icons-ibuffer
ob-restclient
ob-swift
olivetti
orderless
org
org-modern
ox-gfm
ox-reveal
pulsar
rainbow-delimiters
rainbow-mode
restclient
smartparens
swift-mode
super-save
terraform-mode
treesit-auto
ob-typescript
yaml-mode
vterm
fontaine
magit
magit-todos
marginalia
modus-themes
nix-mode
vertico
winpulse
yasnippet
];
}; };
} }