Skip to content

Instantly share code, notes, and snippets.

View huantianad's full-sized avatar

huantian huantianad

View GitHub Profile
@huantianad
huantianad / UnityAndRiderOnNixOS.md
Last active November 27, 2024 13:19
Unity Editor and Jetbrains Rider on NixOS

Unity Editor and Jetbrains Rider on NixOS

Just a small guide kinda thing on how to develop for Unity on NixOS, at least my journey in this space. If you find anything else to add or any steps I missed here, please mention in the comments!

Rider

Rider needs access to MSBuild, .NET, and Mono in order to do code analysis. I found that manually setting the paths inside of Rider never worked correctly, so I instead wrapped Rider in a FHSUserEnv.

I have a workaround to allow rider to be detected by the Unity Rider plugin, which allows you to set Rider as the external editor in Unity, and now works with Rider's Advanced Unity Integration!

Unity Hub

Unity Hub downloads and manages Unity verisons and projects.

@huantianad
huantianad / $howto.md
Last active July 15, 2021 23:32
Jank fix to discord doubleclicking

How to use:

  1. Install xbindkeys and xdotool
  2. Save .discord_forward.sh and .discord_backward.sh somewhere
  3. Add the included text to ~/.xbindkeysrc, changing the paths to where you saved them.
  4. Run xbindkeys (have it run on startup if you want)