Simplified emacs setup and made it default

This commit is contained in:
Olaf
2026-01-26 18:07:11 +01:00
parent add16d36f3
commit 353e1373b8
7 changed files with 83 additions and 1624 deletions

View File

@@ -75,7 +75,19 @@ in
environment.systemPackages =
with pkgs;
[
emacs-unstable
# Emacs with automatic package management from overlay
(emacsWithPackagesFromUsePackage {
config = ../config/emacs/emacs.el;
defaultInitFile = true;
package = emacs-unstable;
alwaysEnsure = true;
extraEmacsPackages = epkgs: with epkgs; [
magit
company
nix-mode
use-package
];
})
]
++ (import ../../modules/shared/packages.nix { inherit pkgs; })