update emacs for custom emacs init
This commit is contained in:
parent
6b925636cc
commit
8470cbe182
1 changed files with 10 additions and 57 deletions
|
@ -8,7 +8,7 @@
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.my.programs.emacs;
|
cfg = config.my.programs.emacs;
|
||||||
myEmacs = with pkgs; ((emacsPackagesFor emacs).emacsWithPackages
|
myEmacs = with pkgs; ((emacsPackagesFor emacsPgtk).emacsWithPackages
|
||||||
(epkgs: [ epkgs.vterm ]));
|
(epkgs: [ epkgs.vterm ]));
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -16,72 +16,25 @@ in
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
my.shell.aliases = {
|
my.shell.aliases = {
|
||||||
emacs = "emacsclient -t -a 'emacs -t'";
|
emacs = "emacsclient -nw -a 'emacs -nw'";
|
||||||
};
|
};
|
||||||
fonts.fonts = [ pkgs.emacs-all-the-icons-fonts ];
|
fonts.fonts = with pkgs; [
|
||||||
environment.systemPackages = with pkgs; [
|
emacs-all-the-icons-fonts
|
||||||
### Emacs itself
|
(iosevka-bin.override { variant = "aile"; })
|
||||||
binutils # native-comp needs 'as', provided by this
|
];
|
||||||
|
users.users.moritz.packages = with pkgs; [
|
||||||
myEmacs
|
myEmacs
|
||||||
|
|
||||||
### Doom dependencies
|
|
||||||
git
|
|
||||||
(ripgrep.override { withPCRE2 = true; })
|
(ripgrep.override { withPCRE2 = true; })
|
||||||
gnutls # for TLS connectivity
|
# flyspell
|
||||||
|
|
||||||
### Optional dependencies
|
|
||||||
fd # faster projectile indexing
|
|
||||||
imagemagick # for image-dired
|
|
||||||
zstd # for undo-fu-session/undo-tree compression
|
|
||||||
|
|
||||||
### Module dependencies
|
|
||||||
## :checkers
|
|
||||||
# spell
|
|
||||||
(hunspellWithDicts [
|
(hunspellWithDicts [
|
||||||
hunspellDicts.en_GB-ize
|
hunspellDicts.en_GB-ize
|
||||||
hunspellDicts.en_US
|
hunspellDicts.en_US
|
||||||
hunspellDicts.de_DE
|
hunspellDicts.de_DE
|
||||||
])
|
])
|
||||||
|
|
||||||
# grammar
|
# language servers
|
||||||
languagetool
|
nil
|
||||||
|
|
||||||
## : tools
|
|
||||||
# lookup & org +roam
|
|
||||||
sqlite
|
|
||||||
gcc # HACK to get emacsqlite binary
|
|
||||||
wordnet
|
|
||||||
graphviz
|
|
||||||
|
|
||||||
## :lang
|
|
||||||
# latex & org (latex previews)
|
|
||||||
texlive.combined.scheme-full
|
|
||||||
texlab
|
|
||||||
|
|
||||||
# nix
|
|
||||||
nixfmt # for formating nix
|
|
||||||
rnix-lsp
|
|
||||||
|
|
||||||
# markdown & org +pandoc
|
|
||||||
pandoc
|
|
||||||
|
|
||||||
# python
|
|
||||||
nodePackages.pyright
|
|
||||||
|
|
||||||
# sh
|
|
||||||
nodePackages.bash-language-server
|
|
||||||
|
|
||||||
## :email
|
|
||||||
# mu4e
|
|
||||||
mu
|
|
||||||
isync
|
|
||||||
|
|
||||||
## :app
|
|
||||||
# everywhere
|
|
||||||
xdotool
|
|
||||||
xorg.xwininfo
|
|
||||||
xclip
|
|
||||||
xorg.xprop
|
|
||||||
];
|
];
|
||||||
home-manager.users.moritz = {
|
home-manager.users.moritz = {
|
||||||
home.sessionPath = [ "/home/moritz/.config/emacs/bin/" ];
|
home.sessionPath = [ "/home/moritz/.config/emacs/bin/" ];
|
||||||
|
|
Loading…
Reference in a new issue