summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/user-interface.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/user-interface.nix b/modules/user-interface.nix
index b0d66516..aaa5e88d 100644
--- a/modules/user-interface.nix
+++ b/modules/user-interface.nix
@@ -21,7 +21,7 @@ let
       GenericName=Text Editor
       Comment=Edit text
       MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
-      Exec=emacseditor %F
+      Exec=${editorScript}/bin/edit %F
       Icon=emacs
       Type=Application
       Terminal=false
@@ -43,6 +43,8 @@ in
     epdfview
     geeqie
 
+    emacsPackage
+    editorScript
     termite
 
     lxappearance