fix: doom

This commit is contained in:
Jonas Röger 2025-03-04 14:56:20 +01:00
parent 7a8ab66c46
commit 68b8d8ae75
Signed by: jonas
GPG Key ID: 4000EB35E1AE0F07
2 changed files with 5 additions and 3 deletions

View File

@ -12,6 +12,8 @@
home.username = "jroeger";
home.homeDirectory = "/home/jroeger";
yubikey.pinentry = "gnome3";
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes.

View File

@ -12,6 +12,7 @@
doom-path-pkgs = with pkgs; [
(ripgrep.override {withPCRE2 = true;})
alejandra
aspell
binutils
ccls
clang-tools
@ -55,14 +56,13 @@
--add-flags "--init-directory=${config.xdg.configHome}/doom-emacs" \
--set DOOMDIR "${config.home.sessionVariables.DOOMDIR}" \
--set DOOMLOCALDIR "${config.home.sessionVariables.DOOMLOCALDIR}" \
--suffix LD_LIBRARY_PATH : "${pkgs.stdenv.cc.cc.lib}/lib"
--prefix LD_LIBRARY_PATH : "${pkgs.stdenv.cc.cc.lib}/lib"
wrapProgram $out/bin/emacsclient \
--prefix PATH : ${lib.makeBinPath doom-path-pkgs} \
--set DOOMDIR "${config.home.sessionVariables.DOOMDIR}" \
--set DOOMLOCALDIR "${config.home.sessionVariables.DOOMLOCALDIR}" \
--suffix LD_LIBRARY_PATH : "${pkgs.stdenv.cc.cc.lib}/lib" \
--add-flags "--socket-name=${doom-socket-name}"
--prefix LD_LIBRARY_PATH : "${pkgs.stdenv.cc.cc.lib}/lib"
'';
};
doom-setup = pkgs.writeShellScript "doom-setup" ''