fix: doom
This commit is contained in:
parent
7a8ab66c46
commit
68b8d8ae75
@ -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.
|
||||
|
||||
@ -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" ''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user