summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/settings/emacs.nix22
1 files changed, 0 insertions, 22 deletions
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 7e7a5a58..1f59c1c9 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -21,24 +21,6 @@ let
       exec ${config.programs.emacs.finalPackage}/bin/emacsclient --alternate-editor ${config.programs.emacs.finalPackage}/bin/emacs --create-frame "$@"
     fi
   '';
-  desktopApplicationFile = pkgs.writeTextFile {
-    name = "emacsclient.desktop";
-    destination = "/share/applications/emacsclient.desktop";
-    text = ''
-      [Desktop Entry]
-      Name=Emacsclient
-      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=${editorScript}/bin/edit %F
-      Icon=emacs
-      Type=Application
-      Terminal=false
-      Categories=Development;TextEditor;
-      StartupWMClass=Emacs
-      Keywords=Text;Editor;
-    '';
-  };
 in
 {
   imports = [
@@ -204,8 +186,4 @@ in
   xdg.configFile."emacs/init.el" = {
     source = ../emacs/init.el;
   };
-
-  home.file.".local/share/applications/emacsclient.desktop" = lib.mkIf stdenv.isLinux {
-    source = desktopApplicationFile;
-  };
 }