emacs packages using nix

This commit is contained in:
Henri Dohmen 2025-11-23 13:30:43 +01:00
parent e3c5ca4855
commit 0448f276eb
Signed by: hd
GPG key ID: AB79213B044674AE
3 changed files with 53 additions and 95 deletions

View file

@ -20,7 +20,6 @@ in
openFirewall = true;
};
udisks2.enable = true;
emacs.enable = true;
};
home.services.protonmail-bridge = {
@ -31,18 +30,21 @@ in
];
};
home.services.unison' = {
# TODO: parameterize
enable = true;
pairs = {
"docs".roots = [
"/home/hd/Documents"
"ssh://roam.lan//home/hd/Documents"
];
"desktop".roots = [
"/home/hd/Desktop"
"ssh://roam.lan//home/hd/Desktop"
];
home.services = {
emacs.enable = true;
unison' = {
# TODO: parameterize
enable = true;
pairs = {
"docs".roots = [
"/home/hd/Documents"
"ssh://roam.lan//home/hd/Documents"
];
"desktop".roots = [
"/home/hd/Desktop"
"ssh://roam.lan//home/hd/Desktop"
];
};
};
};
};

View file

@ -40,7 +40,38 @@ in
};
programs.emacs = {
enable = true;
extraPackages = epkgs: [ epkgs.agda2-mode ];
extraPackages =
epkgs: with epkgs; [
ace-window
agda2-mode
better-defaults
cmake-mode
company
consult
delight
doom-themes
editorconfig
exec-path-from-shell
fish-mode
haskell-mode
hl-todo
lsp-mode
magit
marginalia
markdown-mode
multiple-cursors
orderless
proof-general
pyvenv
rainbow-delimiters
restart-emacs
rust-mode
undo-tree
use-package
vertico
which-key
yaml-mode
];
extraConfig = builtins.readFile ../../dotfiles/emacs/init.el;
};
programs.vscode = {