NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.64k stars 13.8k forks source link

XDG Configuration / Declarative Mime Types #18422

Open sheenobu opened 8 years ago

sheenobu commented 8 years ago

Issue description

Would be great if we NixOS had support for declarative mime type definitions (I assume within environment):

environment.xdg.mimeTypes."text/nix" = {
  comment = {
    "" = "Nix Language File";
    "fr" = "...";
  };
  sub-class-of = "text/plain";
  globs = [ "*.nix" ];
};

I've got some initial work in my own configs here but I wanted to open it up to input and create the issue to match the (eventual) PR.

I imagine environment.xdg also having options for things like XDG user directories but IIRC these can also be specified in NixOS via environment variables.

stale[bot] commented 4 years ago

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.
ivankovnatsky commented 2 years ago

not sure if this is relevant issue anymore, should we close it?