emacs,zsh: don't compile init files
Alan Pearce alan@alanpearce.eu
Mon, 22 May 2023 21:38:17 +0200
2 files changed, 0 insertions(+), 8 deletions(-)
M user/settings/emacs.nix → user/settings/emacs.nix
@@ -183,15 +183,9 @@ }) ]; xdg.configFile."emacs/early-init.el" = { source = ../emacs/early-init.el; - onChange = '' - PATH="$PATH:/usr/libexec/DeveloperTools/" ${config.programs.emacs.finalPackage}/bin/emacs --batch --funcall batch-native-compile $HOME/.config/emacs/early-init.el - ''; }; xdg.configFile."emacs/init.el" = { source = ../emacs/init.el; - onChange = '' - PATH="$PATH:/usr/libexec/DeveloperTools/" ${config.programs.emacs.finalPackage}/bin/emacs --batch --funcall batch-native-compile $HOME/.config/emacs/init.el - ''; }; home.file.".local/share/applications/emacsclient.desktop" = lib.mkIf stdenv.isLinux {
M user/settings/zsh.nix → user/settings/zsh.nix
@@ -231,6 +231,4 @@ then builtins.readFile ../zsh/zshrc.darwin else "" ); }; - - home.file."${zshrc}".onChange = "${pkgs.zsh}/bin/zsh -i -c 'autoload -Uz compinit && compinit && zcompile $HOME/${zshrc}'"; }