Regenerated

This commit is contained in:
2026-03-22 18:33:56 +00:00
parent 2a5098b808
commit 8e533e975f
33 changed files with 12 additions and 1600 deletions
+12 -65
View File
@@ -1223,88 +1223,35 @@ This sets up the emacs terminal
{ pkgs, config, ... }:
let
username = config.defaultUser or "henrov";
# Paths to your init files
initFile = "./init.el";
earlyInitFile = "./early-init.el";
username = config.defaultUser or "henrov";
in
{
# Minimal system-wide Emacs package
environment.systemPackages = [
pkgs.emacs-pgtk.override { withTreeSitter = true; }
];
# Home Manager Emacs config
home-manager.users.${username} = {
home.stateVersion = "26.05"; # or the version of Home Manager you're using
home.stateVersion = "26.05";
programs.emacs = {
enable = true;
package = pkgs.emacs-pgtk.override { withTreeSitter = true; };
extraPackages = epkgs: with epkgs; [
# Core dev and language support
manualPackages.treesit-grammars.with-all-grammars
rust-mode
rustic
nix-mode
hcl-mode
# UI & workflow
nerd-icons
doom-modeline
diminish
eldoc
eldoc-box
pulsar
which-key
avy
consult
vertico
marginalia
crux
shell-pop
# Completion/snippets
nerd-icons-corfu
corfu
cape
orderless
yasnippet
yasnippet-snippets
# Utilities
rg
exec-path-from-shell
eat
f
gptel
nixpkgs-fmt
envrc
# Theming
catppuccin-theme
# Git
magit
# Editing/workflow
expreg
vundo
puni
# Error/side panels
sideline
sideline-flymake
sideline-eglot
rust-mode rustic nix-mode hcl-mode
nerd-icons doom-modeline diminish eldoc eldoc-box pulsar which-key
avy consult vertico marginalia crux shell-pop
nerd-icons-corfu corfu cape orderless yasnippet yasnippet-snippets
rg exec-path-from-shell eat f gptel nixpkgs-fmt envrc
catppuccin-theme magit expreg vundo puni
sideline sideline-flymake sideline-eglot
];
# Load your init files from assets
initFile = initFile;
earlyInitFile = earlyInitFile;
initFile = ./init.el;
earlyInitFile = ./early-init.el;
};
# Useful session variables
home.sessionVariables = {
EDITOR = "emacs";
XDG_SCREENSHOTS_DIR = "~/screenshots";