From 790065045d1f8201b4d7e8993b1d51bf88f34071 Mon Sep 17 00:00:00 2001 From: joy Date: Sat, 14 Sep 2024 21:19:26 +0200 Subject: [PATCH] Helix Desktop Enterie --- modules/system/xdg/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 = {