summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2023-05-22 21:38:17 +0200
committerAlan Pearce2023-05-22 21:38:17 +0200
commit5557c32f962d6dab43563c35fb658864e50a7c1f (patch)
tree0150883e57dd58109394918678df6ed369feaf6d /user/settings
parentc618a08b64bf03d3c98b71cf634654e30d0178b9 (diff)
downloadnixfiles-5557c32f962d6dab43563c35fb658864e50a7c1f.tar.lz
nixfiles-5557c32f962d6dab43563c35fb658864e50a7c1f.tar.zst
nixfiles-5557c32f962d6dab43563c35fb658864e50a7c1f.zip
emacs,zsh: don't compile init files
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/emacs.nix6
-rw-r--r--user/settings/zsh.nix2
2 files changed, 0 insertions, 8 deletions
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 5b41423e..e3e2ba41 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -183,15 +183,9 @@ in
   ];
   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 {
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix
index c481dc0f..566a725b 100644
--- a/user/settings/zsh.nix
+++ b/user/settings/zsh.nix
@@ -231,6 +231,4 @@ in
         else ""
       );
   };
-
-  home.file."${zshrc}".onChange = "${pkgs.zsh}/bin/zsh -i -c 'autoload -Uz compinit && compinit && zcompile $HOME/${zshrc}'";
 }