emacs: go back to local config
This commit is contained in:
parent
1dd40440c2
commit
841db5d0ca
3 changed files with 55 additions and 51 deletions
|
@ -21,7 +21,8 @@
|
||||||
;;layout ; auie,ctsrnm is the superior home row
|
;;layout ; auie,ctsrnm is the superior home row
|
||||||
|
|
||||||
:completion
|
:completion
|
||||||
(company +childframe ) ; the ultimate code completion backend
|
;; (company +childframe ) ; the ultimate code completion backend
|
||||||
|
(corfu +orderless +dabbrev)
|
||||||
(vertico +icons) ; the search engine of the future
|
(vertico +icons) ; the search engine of the future
|
||||||
|
|
||||||
:ui
|
:ui
|
||||||
|
@ -33,7 +34,7 @@
|
||||||
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||||
;;indent-guides ; highlighted indent columns
|
;;indent-guides ; highlighted indent columns
|
||||||
(ligatures +iosevka +extra) ; ligatures and symbols to make your code pretty again
|
(ligatures +iosevka +extra) ; ligatures and symbols to make your code pretty again
|
||||||
modeline ; snazzy, Atom-inspired modeline, plus API
|
(modeline +light) ; snazzy, Atom-inspired modeline, plus API
|
||||||
ophints ; highlight the region an operation acts on
|
ophints ; highlight the region an operation acts on
|
||||||
(popup +all +defaults) ; tame sudden yet inevitable temporary windows
|
(popup +all +defaults) ; tame sudden yet inevitable temporary windows
|
||||||
;;tabs ; a tab bar for Emacs
|
;;tabs ; a tab bar for Emacs
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
(package! catppuccin-theme)
|
(package! catppuccin-theme)
|
||||||
(package! good-scroll)
|
(package! good-scroll)
|
||||||
(package! wakatime-mode)
|
(package! wakatime-mode)
|
||||||
|
(package! rmsbolt)
|
||||||
;; To install a package directly from a remote git repo, you must specify a
|
;; To install a package directly from a remote git repo, you must specify a
|
||||||
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
|
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
|
||||||
;; https://github.com/radian-software/straight.el#the-recipe-format
|
;; https://github.com/radian-software/straight.el#the-recipe-format
|
||||||
|
|
|
@ -10,70 +10,72 @@
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
|
|
||||||
# Taken from outfoxxed since figuring this out is really annoying.
|
# Taken from outfoxxed since figuring this out is really annoying.
|
||||||
pkgswithemacs =
|
newpkgs =
|
||||||
pkgs.appendOverlays
|
pkgs.appendOverlays
|
||||||
(with inputs.emacs-overlay.overlays; [
|
(with inputs.emacs-overlay.overlays; [
|
||||||
emacs
|
emacs
|
||||||
package
|
package
|
||||||
]);
|
]);
|
||||||
|
|
||||||
custom-emacs = with pkgswithemacs; ((emacsPackagesFor
|
custom-emacs = with newpkgs; ((emacsPackagesFor (emacs30-pgtk.override {
|
||||||
(emacs29-pgtk.override {
|
withNativeCompilation = true;
|
||||||
withNativeCompilation = true;
|
withTreeSitter = true;
|
||||||
withTreeSitter = true;
|
}))
|
||||||
}))
|
|
||||||
.emacsWithPackages (epkgs:
|
.emacsWithPackages (epkgs:
|
||||||
with epkgs; [
|
with epkgs; [
|
||||||
|
avy
|
||||||
|
better-jumper
|
||||||
|
catppuccin-theme
|
||||||
|
company
|
||||||
|
crux
|
||||||
|
cmake-font-lock
|
||||||
|
direnv
|
||||||
|
doom-modeline
|
||||||
|
editorconfig
|
||||||
|
face-explorer
|
||||||
|
flycheck
|
||||||
|
frames-only-mode
|
||||||
|
fussy
|
||||||
|
groovy-mode
|
||||||
|
just-mode
|
||||||
|
kotlin-mode
|
||||||
|
lsp-mode
|
||||||
|
lsp-treemacs
|
||||||
|
lsp-ui
|
||||||
|
lsp-java
|
||||||
|
magit
|
||||||
|
markdown-mode
|
||||||
|
meow
|
||||||
|
meow-tree-sitter
|
||||||
|
nasm-mode
|
||||||
|
nix-mode
|
||||||
|
reformatter # required by nix mode
|
||||||
|
projectile
|
||||||
|
peep-dired
|
||||||
|
rainbow-mode
|
||||||
|
no-littering
|
||||||
|
string-inflection
|
||||||
|
tldr
|
||||||
treesit-grammars.with-all-grammars
|
treesit-grammars.with-all-grammars
|
||||||
|
treemacs
|
||||||
|
treemacs-evil
|
||||||
|
treemacs-projectile
|
||||||
|
treemacs-magit
|
||||||
|
undo-tree
|
||||||
|
use-package
|
||||||
|
vertico
|
||||||
vterm
|
vterm
|
||||||
eshell-prompt-extras
|
which-key
|
||||||
esh-autosuggest
|
ws-butler
|
||||||
fish-completion
|
|
||||||
esh-help
|
|
||||||
eshell-syntax-highlighting
|
|
||||||
pinentry
|
|
||||||
]));
|
]));
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home-manager.users.${username} = {
|
home-manager.users.${username} = {
|
||||||
imports = [inputs.nix-doom-emacs-unstraightened.hmModule];
|
home.packages = [custom-emacs];
|
||||||
programs.doom-emacs = {
|
|
||||||
|
services.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
doomDir = ./doom;
|
package = custom-emacs;
|
||||||
emacs = custom-emacs;
|
|
||||||
extraBinPackages = with pkgs; [
|
|
||||||
python3
|
|
||||||
pinentry-tty
|
|
||||||
pinentry-emacs
|
|
||||||
# needed by native-comp
|
|
||||||
binutils
|
|
||||||
|
|
||||||
# Doom dependencies
|
|
||||||
git
|
|
||||||
ripgrep
|
|
||||||
gnutls
|
|
||||||
|
|
||||||
## Optional dependencies
|
|
||||||
fd # faster projectile indexing
|
|
||||||
imagemagick # for image-dired
|
|
||||||
zstd # for undo-fu-session/undo-tree compression
|
|
||||||
nodePackages.prettier
|
|
||||||
|
|
||||||
# Module dependencies
|
|
||||||
# spell
|
|
||||||
(aspellWithDicts (ds: with ds; [de en en-computers en-science]))
|
|
||||||
# editorconfig
|
|
||||||
editorconfig-core-c # per-project style config
|
|
||||||
# lookup & org +roam
|
|
||||||
sqlite
|
|
||||||
# latex & org (latex previews)
|
|
||||||
texlive.combined.scheme-medium
|
|
||||||
# :lang beancount
|
|
||||||
# beancount
|
|
||||||
# fava
|
|
||||||
# :lang nix
|
|
||||||
age
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue