diff options
author | Alan Pearce | 2020-09-21 14:31:59 +0200 |
---|---|---|
committer | Alan Pearce | 2020-09-21 14:33:35 +0200 |
commit | bbf897fd65ab3a12861fc954476c066387b66948 (patch) | |
tree | bda9ad09a497b05be9d436ca3c05423839f493cf /user | |
parent | 91764108369af4fb872d6afc9bce88eff5328484 (diff) | |
download | nixfiles-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.nix | 4 |
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; + }; } |