Updated systemPackages for doom emacs
This commit is contained in:
parent
22c9b99399
commit
0997ec9f49
3 changed files with 30 additions and 4 deletions
|
|
@ -5,7 +5,7 @@
|
|||
inputs,
|
||||
...
|
||||
}: let
|
||||
emacs = pkgs.emacs;
|
||||
emacs = pkgs.emacs;#pkgs.emacs-pgtk;
|
||||
in {
|
||||
services.emacs.enable = true;
|
||||
services.emacs.startWithGraphical = true;
|
||||
|
|
@ -14,11 +14,26 @@ in {
|
|||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
libvterm
|
||||
libtool
|
||||
emacs
|
||||
ripgrep
|
||||
fd
|
||||
coreutils
|
||||
clang
|
||||
cmake
|
||||
nixfmt-rfc-style
|
||||
markdownlint-cli
|
||||
pandoc
|
||||
gnumake
|
||||
python3
|
||||
isort
|
||||
pipenv
|
||||
python313Packages.nose2
|
||||
python313Packages.pytest
|
||||
shellcheck
|
||||
nodejs_23
|
||||
|
||||
(pkgs.writeShellScriptBin "doom-install" ''
|
||||
${pkgs.git}/bin/git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.emacs.d
|
||||
${pkgs.git}/bin/git clone https://github.com/KyleKrein/doomemacs.git ~/.doom.d
|
||||
|
|
@ -33,7 +48,7 @@ in {
|
|||
~/.emacs.d/bin/doom upgrade
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "doom" ''
|
||||
${emacs}/bin/emacsclient -c
|
||||
${emacs}/bin/emacsclient -c -a "${emacs}/bin/emacs"
|
||||
'')
|
||||
];
|
||||
nixpkgs.overlays = [
|
||||
|
|
|
|||
|
|
@ -122,6 +122,8 @@ in {
|
|||
|
||||
"$mainMod, P, exec, $makeRegionScreenshot"
|
||||
"$mainMod ALT, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
||||
|
||||
''$mainMod, E, exec, emacsclient -c -a "send-notify 'Unable to launch Emacs. Daemon is not running'"''
|
||||
];
|
||||
|
||||
bindm = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue