I am arch user by now.
Tried nix package manager on it and learning nix thee days.
I was thinking of switching to nix as I was not able to replicate that much Declarativeness on my setup.
But barrier is almost Everything Nix is on Github,Something which somehow belong to Microsoft and is not good for privacy.
So can Nix community host a Gitlab or forgejo or Something else as an alternative or maybe permanently move it (so that I can switch to nix)?
While i get the concern and am not a fan of this myself. What youre asking for is a tall order. You could host a mirror yourself on an alternative that suits you (realistically there are probably already mirrors though i havent checked)
I dont really have enlightenment for you unfortunately.
As someone else pointed out, in terms of fork i think what there is out there currently is lix as an alternative to cppNix, and i think auxolotl is planning on replacing nixpkgs/nixos
I share your concern about over dependence, but for different reasons.
There's a lot of metadata Github has that's not backed up in the git repo. For example. pull requests, issues, projects, milestones, wikis etc.
There appears to be third party tools that can back this metadata up using Githubs API. I wonder if anyone bothered. Kinda doubt it.
After the Google cloud UniSuper incident, I think it's clear that no org is immune from accidentally deleting everything.
which somehow belong to Microsoft and is not good for privacy.
It's hard for me to guess exactly what your concern is. There's nothing stopping you from using an anonymous account on Github to contribute. Or just connecting to it via Tor / VPN.
If its mostly about sticking to principles, then you might like https://guix.gnu.org/ more.
There's also these are projects you could contribute to:
auxolotl.org An alternative to the Nix ecosystem (in the works)
I think they're all using forgejo or some FOSS git forge. At least I think aux is still planning moving to forgejo. However, I'm not aware of anyone still planning to fork nixpkgs.
So can Nix community host a Gitlab or forgejo or Something else as an alternative or maybe permanently move it (so that I can switch to nix)?
This seems too much just so you can use Nix(OS), it'd make sense if you're a contributor. I mean you are not required to have an account to use anything on github