Hoe do you self host a nix package repo & install nix packages from 3rd party repos? Is this even possible.
Other package managers allow you to install packages from 3rd party repos such as Flatpaks, apt, F-Droid, Scoop, Winget.
And is there any known 3rd party nix package repos?
Generally you would use flakes to enable third party repos, although there are ways to do it without flakes. With flakes, third party repos work basicallly the same way as the main repo. Chaotic Nyx is one repo, and it also explains how to set it up. There’s also ones like Nixified AI.
Nix doesn’t really have “repos” like other distros. There is nix source and there are binary caches.
To use source, you import it. I think that is easiest with flakes, but there are multiple ways to do it.
If you want to self host the binary cache, you’ll want to look at using a substituter. There are several ways to host a cache as well.
No, i don’t. And stop calling me a hoe!
Underrated comment