diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/user-interface.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user-interface.nix b/modules/user-interface.nix index 88dedfab..7c98d291 100644 --- a/modules/user-interface.nix +++ b/modules/user-interface.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, ... }: +{ config, pkgs, lib, makeDesktopItem, ... }: let emacsPackage = import ../packages/emacs.nix { @@ -15,7 +15,7 @@ let exec ${emacsPackage}/bin/emacsclient --alternate-editor ${emacsPackage}/bin/emacs "$@" fi ''; - desktopApplicationFile = pkgs.writeTextFile { + desktopApplicationFile = makeDesktopItem { name = "emacsclient.desktop"; destination = "/share/applications/emacsclient.desktop"; text = '' |