Skip to content

Add support for NixOS - #60

Closed
mzonski wants to merge 1 commit into
Nortank12:mainfrom
mzonski:feat/nixos-support
Closed

mzonski wants to merge 1 commit into
Nortank12:mainfrom
mzonski:feat/nixos-support

Conversation

@mzonski

@mzonski mzonski commented Aug 31, 2025

Copy link
Copy Markdown
Contributor

In this pull request, I am making 3 changes:

  • Fixed Nvidia library path, as NixOS doesn't find libraries in the specified directories. Used the most generic path instead.
  • Added Nix flake which provides a streamlined way to build the application with automatic dependency resolution.
  • Added direnv integration with flake, so RustRover (and other IDEs) can be easily configured to use the proper toolchain and SDK.

Please let me know if you're okay with these changes, and I will update the documentation.

@Nortank12

Copy link
Copy Markdown
Owner

Someone has submitted a PR before (#23), which I rejected, but I am aware that many users run NixOS, and this would be beneficial for them. My goal is to first separate the service and the UI; after that, it will make more sense to ship the program with configuration files (for NixOS) and install scripts (for Debian, Arch, etc.).

For now, if you are willing to maintain the Nix flake, I will mention your repo in the README, and NixOS users can use your configuration and make suggestions there.

Regarding the Nvidia fix, please submit a separate PR for that, and I will merge it.

@mzonski

mzonski commented Sep 5, 2025

Copy link
Copy Markdown
Contributor Author

All right, I will prepare a separate PR that will solve required Nvidia library. I am fine with maintaining the module. I will try to upstream it to nixpkgs, but for now the link to my repo will be enough for other people looking to use your program.

@mzonski mzonski closed this Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants