Regenerated

This commit is contained in:
2026-03-22 18:32:55 +00:00
parent 05e8ddeba0
commit d00130349a
33 changed files with 25 additions and 1520 deletions
+25 -5
View File
@@ -1223,7 +1223,11 @@ This sets up the emacs terminal
{ pkgs, config, ... }:
let
username = config.defaultUser or "henrov";
username = config.defaultUser or "henrov";
# Paths to your init files
initFile = "./init.el";
earlyInitFile = "./early-init.el";
in
{
# Minimal system-wide Emacs package
@@ -1233,17 +1237,20 @@ in
# Home Manager Emacs config
home-manager.users.${username} = {
home.stateVersion = "26.05"; # required by Home Manager
home.stateVersion = "26.05"; # or the version of Home Manager you're using
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
@@ -1257,12 +1264,16 @@ in
marginalia
crux
shell-pop
# Completion/snippets
nerd-icons-corfu
corfu
cape
orderless
yasnippet
yasnippet-snippets
# Utilities
rg
exec-path-from-shell
eat
@@ -1270,21 +1281,30 @@ in
gptel
nixpkgs-fmt
envrc
# Theming
catppuccin-theme
# Git
magit
# Editing/workflow
expreg
vundo
puni
# Error/side panels
sideline
sideline-flymake
sideline-eglot
];
# Load your init files from the same folder
initFile = ./init.el;
earlyInitFile = ./early-init.el;
# Load your init files from assets
initFile = initFile;
earlyInitFile = earlyInitFile;
};
# Useful session variables
home.sessionVariables = {
EDITOR = "emacs";
XDG_SCREENSHOTS_DIR = "~/screenshots";