all repos — nixfiles @ bbf897fd65ab3a12861fc954476c066387b66948

System and user configuration, managed by nix and home-manager

Emacs: don't install desktop file on darwin
Alan Pearce alan@alanpearce.eu
Mon, 21 Sep 2020 14:31:59 +0200
commit

bbf897fd65ab3a12861fc954476c066387b66948

parent

91764108369af4fb872d6afc9bce88eff5328484

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -203,5 +203,7 @@ ${config.programs.emacs.finalPackage}/bin/emacs -Q -batch -f batch-byte-compile .config/emacs/init.el     '';
   };
 
-  home.file.".local/share/applications/emacsclient.desktop".source = desktopApplicationFile;
+  home.file.".local/share/applications/emacsclient.desktop" = lib.mkIf stdenv.isLinux {
+    source = desktopApplicationFile;
+  };
 }