2024-12-10 14:57:32 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2024-10-05 12:38:24 +01:00
|
|
|
{
|
2024-10-05 16:39:27 +01:00
|
|
|
imports = [
|
2024-11-14 08:43:27 +00:00
|
|
|
../shell/default.nix
|
|
|
|
../shell/git.nix
|
|
|
|
../gpg/default.nix
|
2024-12-04 16:57:56 +00:00
|
|
|
../texlive/default.nix
|
|
|
|
../programming/default.nix
|
2024-10-05 16:39:27 +01:00
|
|
|
];
|
2024-12-12 07:28:12 +00:00
|
|
|
home.file = {
|
|
|
|
".emacs.d/templates".source = ./templates;
|
|
|
|
".emacs.d/early-init.el".text = ''
|
|
|
|
(setopt use-package-check-before-init t
|
|
|
|
use-package-enable-imenu-support t
|
|
|
|
base16-theme-distinct-fringe-background t
|
|
|
|
base16-theme-highlight-mode-line 'contrast)
|
|
|
|
'';
|
|
|
|
};
|
2024-10-22 11:36:21 +01:00
|
|
|
services.emacs = {
|
2024-12-10 14:57:32 +00:00
|
|
|
enable = lib.mkDefault true;
|
2024-10-22 11:36:21 +01:00
|
|
|
package = config.programs.emacs.finalPackage;
|
|
|
|
defaultEditor = true;
|
|
|
|
client.enable = true;
|
2024-12-03 07:19:51 +00:00
|
|
|
socketActivation.enable = false;
|
|
|
|
startWithUserSession = "graphical";
|
2024-07-03 07:15:39 +01:00
|
|
|
};
|
2024-10-05 16:39:27 +01:00
|
|
|
programs.emacs = {
|
|
|
|
enable = true;
|
2024-12-10 15:48:39 +00:00
|
|
|
package = pkgs.emacs30.override {
|
2024-11-14 13:50:55 +00:00
|
|
|
withImageMagick = true;
|
|
|
|
withPgtk = true;
|
|
|
|
};
|
2024-12-02 17:43:29 +00:00
|
|
|
extraConfig = builtins.readFile ./init.el;
|
2024-10-05 16:39:27 +01:00
|
|
|
extraPackages =
|
|
|
|
epkgs: with epkgs; [
|
2024-12-02 17:16:40 +00:00
|
|
|
# UI and Appearance
|
|
|
|
delight
|
|
|
|
nerd-icons
|
|
|
|
nerd-icons-dired
|
|
|
|
nerd-icons-ibuffer
|
|
|
|
nerd-icons-corfu
|
|
|
|
# Email and Calendar
|
|
|
|
khalel
|
2024-11-25 07:44:01 +00:00
|
|
|
mu4e
|
2024-12-02 17:16:40 +00:00
|
|
|
# Other (TODO sort)
|
|
|
|
diff-hl
|
|
|
|
org-roam
|
2024-12-13 07:23:41 +00:00
|
|
|
org-journal
|
2024-12-02 17:16:40 +00:00
|
|
|
org-noter
|
|
|
|
citar
|
|
|
|
vertico
|
|
|
|
marginalia
|
|
|
|
orderless
|
|
|
|
corfu
|
|
|
|
corfu-terminal
|
|
|
|
cape
|
|
|
|
consult
|
|
|
|
consult-eglot
|
|
|
|
tempel
|
2024-12-03 09:25:26 +00:00
|
|
|
tempel-collection
|
2024-12-02 17:16:40 +00:00
|
|
|
rainbow-delimiters
|
|
|
|
envrc
|
|
|
|
treesit-grammars.with-all-grammars
|
|
|
|
treesit-auto
|
|
|
|
apheleia
|
|
|
|
flymake-shellcheck
|
|
|
|
flymake-yamllint
|
|
|
|
flymake-clippy
|
|
|
|
flymake-eslint
|
|
|
|
magit
|
|
|
|
forge
|
|
|
|
nix-mode
|
|
|
|
lua-mode
|
2024-12-03 09:31:48 +00:00
|
|
|
python-docstring
|
2024-12-03 10:48:36 +00:00
|
|
|
python-pytest
|
2024-12-02 17:16:40 +00:00
|
|
|
auctex
|
|
|
|
markdown-mode
|
|
|
|
pandoc-mode
|
|
|
|
scad-mode
|
2024-10-05 16:39:27 +01:00
|
|
|
];
|
2024-07-03 07:15:39 +01:00
|
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
2024-07-24 08:25:37 +01:00
|
|
|
# Plugin requirements
|
|
|
|
gcc
|
2024-07-03 07:15:39 +01:00
|
|
|
sqlite
|
2024-11-14 13:50:55 +00:00
|
|
|
languagetool
|
|
|
|
wordnet
|
2024-07-03 07:15:39 +01:00
|
|
|
pandoc
|
|
|
|
ghostscript
|
|
|
|
poppler_utils
|
2024-11-14 13:50:55 +00:00
|
|
|
graphviz-nox
|
2024-07-03 07:15:39 +01:00
|
|
|
];
|
|
|
|
}
|