summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2020-09-21 14:31:59 +0200
committerAlan Pearce2020-09-21 14:33:35 +0200
commitbbf897fd65ab3a12861fc954476c066387b66948 (patch)
treebda9ad09a497b05be9d436ca3c05423839f493cf /user
parent91764108369af4fb872d6afc9bce88eff5328484 (diff)
downloadnixfiles-bbf897fd65ab3a12861fc954476c066387b66948.tar.lz
nixfiles-bbf897fd65ab3a12861fc954476c066387b66948.tar.zst
nixfiles-bbf897fd65ab3a12861fc954476c066387b66948.zip
Emacs: don't install desktop file on darwin
Diffstat (limited to 'user')
-rw-r--r--user/settings/emacs.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 2acd1269..e53e6aa4 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -203,5 +203,7 @@ in
     '';
   };
 
-  home.file.".local/share/applications/emacsclient.desktop".source = desktopApplicationFile;
+  home.file.".local/share/applications/emacsclient.desktop" = lib.mkIf stdenv.isLinux {
+    source = desktopApplicationFile;
+  };
 }