{ config, pkgs, lib, ... }: { xdg = { desktopEntries = { packettracer8_workaround = { name = "Cisco Packet Tracer 8; Opening Exams Workaround"; exec = "${pkgs.ciscoPacketTracer8}/bin/packettracer8 %u"; type = "Application"; mimeType = [ "x-scheme-handler/pttp" ]; noDisplay = true; }; }; mimeApps.defaultApplications = { "x-scheme-handler/pttp" = [ "packettracer8_workaround.desktop" ]; }; }; }