nixos/home/emacs.nix

120 lines
2.4 KiB
Nix
Raw Normal View History

2023-12-11 12:11:55 +00:00
{ config, pkgs, ... }: {
programs.emacs = {
2023-12-11 12:11:55 +00:00
# Clone emacs config from https://git.xenia.me.uk/xenia/emacs.git
enable = true;
package = pkgs.emacs29-pgtk;
2023-12-20 07:54:26 +00:00
extraConfig = ''(org-babel-load-file "~/.emacs/README.org")'';
extraPackages = epkgs:
with epkgs; [
# theme
modus-themes
2023-12-19 14:46:57 +00:00
# password-store
password-store
password-store-otp
pass # password-store major mode
# completion-packages
cape
consult
consult-eglot
consult-yasnippet
corfu
corfu-terminal
embark
embark-consult
marginalia
orderless
vertico
# snippets-packages
yasnippet
yasnippet-snippets
yasnippet-capf
# ide-packages
treesit-grammars.with-all-grammars
treesit-auto
2024-01-10 10:31:38 +00:00
flymake-popon
apheleia
direnv
goto-chg
rainbow-delimiters
aggressive-indent
nix-mode
lua-mode
cargo
# media-packages
emms
# org-packages
2023-12-20 10:59:56 +00:00
org-alert
org-noter
org-journal
citar
citar-embark
2024-01-04 11:03:24 +00:00
gnuplot
# project-packages
2023-11-16 12:50:37 +00:00
ibuffer-project
magit
forge
# ui-packages
all-the-icons
nerd-icons
nerd-icons-completion
nerd-icons-corfu
nerd-icons-dired
nerd-icons-ibuffer
2024-01-09 09:02:48 +00:00
diminish
2023-11-07 07:06:30 +00:00
ligature
page-break-lines
helpful
which-key
link-hint
2023-11-07 07:06:30 +00:00
darkroom
2023-12-08 15:15:21 +00:00
diff-hl
2023-12-14 09:39:18 +00:00
treemacs
treemacs-magit
treemacs-nerd-icons
# writing-packages
markdown-mode
pandoc-mode
auctex
auctex-latexmk
latex-preview-pane
# email-packages
mu4e
# feed-packages
elfeed
elfeed-org
elfeed-tube
elfeed-tube-mpv
];
};
services = {
git-sync = {
enable = true;
repositories = with config.home; {
org = {
path = "${homeDirectory}/Org";
uri = "git+https://git.xenia.me.uk/xenia/org.git";
};
references = {
path = "${homeDirectory}/References";
uri = "git+https://git.xenia.me.uk/xenia/references.git";
};
elfeed = {
path = "${homeDirectory}/.elfeed";
uri = "git+https://git.xenia.me.uk/xenia/elfeed.git";
};
};
};
};
}