nixos/pkgs/zed-fhs.nix
deva a20f10427e
switching away from nixos (and to arch linux)
commit is to save unfinished configuration/etc. for later
2024-08-04 18:16:15 -04:00

20 lines
553 B
Nix

{pkgs}: pkgs.buildFHSUserEnv {
name = "zed";
targetPkgs = pkgs: with pkgs; [
unstable.zed-editor
];
runScript = "zed";
desktopItem = pkgs.lib.makeDesktopItem {
name = "zed";
desktopName = "Zed";
comment = "A high-performance, multiplayer code editor.";
genericName = "Text Editor";
exec = "zed %U";
icon = "zed";
startupNotify = true;
startupWMClass = "zed";
mimeTypes = ["text/plain" "inode/directory"];
categories = [ "Utility" "TextEditor" "Development" "IDE" ];
keywords = [ "zed" ];
};
}