about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-03-03T23·33+0100
committerVincent Ambo <tazjin@gmail.com>2018-03-03T23·33+0100
commit8f7a720fcf9fbd07fdeb9516f50b71283ecfc3f5 (patch)
treed704780c163811791ad43aff5d1e99e51a3c94e8
parent95eedea9ac2763f43fad0643d3a35a76227aea47 (diff)
fix: Make custom emacs available on system $PATH
-rw-r--r--configuration.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/configuration.nix b/configuration.nix
index 0553c8cf4e4c..96f4ac9ac2c5 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -26,8 +26,11 @@
 
   # Configure emacs:
   # (actually, that's a lie, this only installs emacs!)
-  services.emacs.install = true;
-  services.emacs.defaultEditor = true;
+  services.emacs = {
+    install = true;
+    defaultEditor = true;
+    package = import ./emacs.nix { inherit pkgs; };
+  };
 
   # Enable GNOME keyring (required for Evolution)
   services.gnome3.gnome-keyring.enable = true;