summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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;
+  };
 }