diff --git a/modules/system/xdg/default.nix b/modules/system/xdg/default.nix index 96c3a83..627b1b1 100644 --- a/modules/system/xdg/default.nix +++ b/modules/system/xdg/default.nix @@ -1,5 +1,16 @@ {...}: { home-manager.users.joy.xdg = { + desktopEntries = { + hx = { + name = "Helix"; + exec = "alacritty -e hx %F"; + icon = "Helix"; + terminal = false; + type = "Application"; + categories = ["Utility" "TextEditor"]; + mimeType = ["text/plain"]; + }; + }; mimeApps = { enable = true; defaultApplications = {