2023-12-11 12:11:55 +00:00
|
|
|
{ config, pkgs, ... }: {
|
2023-11-05 05:55:52 +00:00
|
|
|
programs.emacs = {
|
2023-12-11 12:11:55 +00:00
|
|
|
# Clone emacs config from https://git.xenia.me.uk/xenia/emacs.git
|
2023-11-05 05:55:52 +00:00
|
|
|
enable = true;
|
|
|
|
package = pkgs.emacs29-pgtk;
|
2023-12-20 07:54:26 +00:00
|
|
|
extraConfig = ''(org-babel-load-file "~/.emacs/README.org")'';
|
2023-11-05 05:55:52 +00:00
|
|
|
extraPackages = epkgs:
|
|
|
|
with epkgs; [
|
2023-11-14 07:29:36 +00:00
|
|
|
# theme
|
2024-01-09 15:48:11 +00:00
|
|
|
modus-themes
|
2023-11-08 06:27:32 +00:00
|
|
|
|
2024-01-10 15:40:37 +00:00
|
|
|
# spell-checking
|
|
|
|
flyspell-correct
|
|
|
|
consult-flyspell
|
|
|
|
|
2023-12-19 14:46:57 +00:00
|
|
|
# password-store
|
|
|
|
password-store
|
|
|
|
password-store-otp
|
|
|
|
pass # password-store major mode
|
|
|
|
|
2023-11-05 05:55:52 +00:00
|
|
|
# completion-packages
|
|
|
|
cape
|
|
|
|
consult
|
2023-12-21 12:18:38 +00:00
|
|
|
consult-eglot
|
|
|
|
consult-yasnippet
|
2023-11-05 05:55:52 +00:00
|
|
|
corfu
|
|
|
|
corfu-terminal
|
|
|
|
embark
|
|
|
|
embark-consult
|
|
|
|
marginalia
|
|
|
|
orderless
|
|
|
|
vertico
|
|
|
|
|
2023-11-14 07:29:36 +00:00
|
|
|
# snippets-packages
|
2023-12-21 12:18:38 +00:00
|
|
|
yasnippet
|
|
|
|
yasnippet-snippets
|
|
|
|
yasnippet-capf
|
2023-11-14 07:29:36 +00:00
|
|
|
|
2023-11-05 05:55:52 +00:00
|
|
|
# ide-packages
|
|
|
|
treesit-grammars.with-all-grammars
|
|
|
|
treesit-auto
|
2024-01-10 10:31:38 +00:00
|
|
|
flymake-popon
|
2023-11-05 05:55:52 +00:00
|
|
|
apheleia
|
|
|
|
direnv
|
|
|
|
goto-chg
|
|
|
|
rainbow-delimiters
|
2023-11-17 14:48:04 +00:00
|
|
|
aggressive-indent
|
2023-11-05 05:55:52 +00:00
|
|
|
nix-mode
|
2023-11-09 07:09:48 +00:00
|
|
|
lua-mode
|
2023-12-31 09:23:56 +00:00
|
|
|
cargo
|
2023-11-05 05:55:52 +00:00
|
|
|
|
|
|
|
# media-packages
|
|
|
|
emms
|
|
|
|
|
|
|
|
# org-packages
|
2023-12-20 10:59:56 +00:00
|
|
|
org-alert
|
2023-11-09 07:09:48 +00:00
|
|
|
org-noter
|
2023-11-05 05:55:52 +00:00
|
|
|
org-journal
|
2024-01-11 20:03:15 +00:00
|
|
|
org-present
|
2023-11-05 05:55:52 +00:00
|
|
|
citar
|
|
|
|
citar-embark
|
2024-01-04 11:03:24 +00:00
|
|
|
gnuplot
|
2023-11-05 05:55:52 +00:00
|
|
|
|
|
|
|
# project-packages
|
2023-11-16 12:50:37 +00:00
|
|
|
ibuffer-project
|
2023-11-05 05:55:52 +00:00
|
|
|
magit
|
2023-11-09 07:09:48 +00:00
|
|
|
forge
|
2023-11-05 05:55:52 +00:00
|
|
|
|
|
|
|
# ui-packages
|
|
|
|
all-the-icons
|
|
|
|
nerd-icons
|
|
|
|
nerd-icons-completion
|
2023-12-21 12:18:38 +00:00
|
|
|
nerd-icons-corfu
|
2023-11-05 05:55:52 +00:00
|
|
|
nerd-icons-dired
|
|
|
|
nerd-icons-ibuffer
|
2024-01-09 09:02:48 +00:00
|
|
|
diminish
|
2023-11-07 07:06:30 +00:00
|
|
|
ligature
|
2023-11-05 05:55:52 +00:00
|
|
|
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
|
2023-11-05 05:55:52 +00:00
|
|
|
|
|
|
|
# writing-packages
|
|
|
|
markdown-mode
|
|
|
|
pandoc-mode
|
|
|
|
auctex
|
|
|
|
auctex-latexmk
|
2023-11-09 07:09:48 +00:00
|
|
|
latex-preview-pane
|
2023-11-05 05:55:52 +00:00
|
|
|
|
|
|
|
# email-packages
|
|
|
|
mu4e
|
|
|
|
|
|
|
|
# feed-packages
|
|
|
|
elfeed
|
|
|
|
elfeed-org
|
|
|
|
elfeed-tube
|
|
|
|
elfeed-tube-mpv
|
|
|
|
];
|
|
|
|
};
|
2023-11-16 07:52:15 +00:00
|
|
|
services = {
|
|
|
|
git-sync = {
|
|
|
|
enable = true;
|
2024-01-14 08:22:14 +00:00
|
|
|
repositories = with config.xdg.userDirs; {
|
2023-11-16 07:52:15 +00:00
|
|
|
org = {
|
2024-01-14 08:22:14 +00:00
|
|
|
path = "${documents}/Org";
|
2023-11-16 07:52:15 +00:00
|
|
|
uri = "git+https://git.xenia.me.uk/xenia/org.git";
|
|
|
|
};
|
|
|
|
references = {
|
2024-01-14 08:22:14 +00:00
|
|
|
path = "${documents}/References";
|
2023-11-16 07:52:15 +00:00
|
|
|
uri = "git+https://git.xenia.me.uk/xenia/references.git";
|
|
|
|
};
|
|
|
|
elfeed = {
|
2024-01-14 08:22:14 +00:00
|
|
|
path = "${config.home.homeDirectory}/.elfeed";
|
2023-11-16 07:52:15 +00:00
|
|
|
uri = "git+https://git.xenia.me.uk/xenia/elfeed.git";
|
|
|
|
};
|
2023-11-04 21:00:13 +00:00
|
|
|
};
|
2023-11-16 07:52:15 +00:00
|
|
|
};
|
2023-10-19 06:33:56 +01:00
|
|
|
};
|
2023-07-26 15:45:24 +01:00
|
|
|
}
|