summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-06-27 16:41:20 +0200
committerAlan Pearce2019-06-27 16:41:20 +0200
commit7b55894e04f1af73e4846d2c152536f7f702c96d (patch)
tree7550edf3abb954f1d9b00d723f9b18a75151d270
parent473a10c40202f3934c355624d67c82e30b120f13 (diff)
downloadnixos-configuration-7b55894e04f1af73e4846d2c152536f7f702c96d.tar.lz
nixos-configuration-7b55894e04f1af73e4846d2c152536f7f702c96d.tar.zst
nixos-configuration-7b55894e04f1af73e4846d2c152536f7f702c96d.zip
Improve edit/emacs access
-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 b0d6651..aaa5e88 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