hi I’m still exploring stuff and I was thinking about nix, with all his stuff, what do you guys think? maybe someone with experience can tell me if I should stay away from that or could be a good choice for privacy, anonimity and security
Most distros are somewhat equal when it comes to privacy, anonymity and security; with the likes of Fedora and openSUSE known for taking it more seriously out of the box than the other ‘big bois’, while some smaller distros like Kicksecure are known for their best-in-class[1] hardening that they offer by default.
As for NixOS, it’s really its own thing (together with Guix), and thus very different from any other distros. If you conquer it, you would be delightfully met by a system that enables you to do things unheard of in other distros. However, the learning curve is very steep. And perhaps even hardening it to the level that Fedora or openSUSE provide by default might not be trivial.
- Qubes OS is technically not a Linux distro. But it’s worth mentioning as one generally tends to run Linux within a qube (read: VM), and in regards to security and privacy; Qubes OS is simply unmatched, period.
Beyond this, TailsOS would be more anonymous.
There’s that Spectrum distro
It’s like Qubes, but on Nixos (it’s in early stages yet)
If you don’t have much experience with linux you should not use nixos. I don’t think nixos is any different from debian or fedora in privacy, anonymity, or security. Many people even reduce their privacy by putting their config on github.
I mean yes you reduce your privacy by interacting with Microsoft GitHub in general, but posting your Nix config to the public isn’t much of a privacy concern since you shouldn’t have any plaintext secrets anyhow as a best practice since it would be compiled into the Nix store. There are a couple of different ways to encrypt secrets, as well as just not committing private *.nix to a public repository.
Other people will know what bootloader you use, what apps you use, etc. Yeah I guess its not a huge concern, but its something.
It’s like giving a map of your infrastructure to a hacker, but it depends on your thread model. Most of the attacks on home servers are automated, so it shouldn’t be a consern
Another thing if your thread model is different, then the situation is not that good, but you can encrypt a lot of stuff, especially when you’re making your config reproducible
Nixos can be more secure than classic distros. First of all, you have atomic states of your system, so nothing can be added without rebuilding the whole system and giving it a new name
Also you can do impermanence to ensure nothing can slip in for sure, because the system will be recreated every boot
In cases like this, if you have to ask, you should probably avoid the OS. There’s nothing wrong with experimenting, but Linux’s extremely open nature allows you to make a lot of blunders that a more seasoned security expert would advise against.
And by “you,” I mean “me.” I have made a lot of security blunders.
I don’t know what gave you the idea that a particular distro would be an especially good/bad choice for privacy, etc. They’re all GNU/Linux with only minor differences in compile-time options in the kernel and different defaults in user-space. But they’re just that, defaults. You can reconfigure them to your preference.
With that out of the way, the issue NixOS attempts to address is reproducibility. You get a central configuration infrastructure that defines everything, from partition layout, through user creation and package installation to software configuration. The central idea being that migrating to a new machine or setting up a new development environment should only take a few commands.
What you do with that is up to you. You can barricade the whole system if you like. The defaults are sane, but not overly focused on privacy, etc.
Also it’s quite a learning curve as the documentation/wiki is incomplete and/or outdated.The wiki is not even recommended, since some time already nobody has access to the wiki, even to put a banner “stay away, everything is not working and outdated”
So we have to piece information together from the manual and random blogs? Like cavemen? Or worse, like Windows users??
The Matrix room is the recommended channel of support
I personally think it’s a bit a waste of somebody’s time to always sit there and reply
Also, when you start understanding how this stuff works, you can start using github’s search code so you can find snippets of code and make your own (or just look at the packages’ code, it’s very basic inside)
Ah, and forgot to mention because it’s too obvious, nixpkgs search, this is basically all you need for free movement inside “nixverse”
One of my admin friends said it’s not really made with desktop users in mind but more for people who need to set up (lots of) computers / servers quite often (= admins). If you’re not planning on distro hopping or reinstalling your system all the time it doesn’t really do anything for you that any other distro plus a good backup strategy already does. Plus you can use the Nix package manager without installing NixOS on the distro you’re on right now, if you wanna check it out.
How do people here feel about this evaluation?
deleted by creator
deleted by creator
If you do things and install things at the user level (which way too many do) then you’ve removed the benefit.
? 😅 nix-shell, nix-env? also home-manager? I’m running some machines user only, no root
If you want privacy/security, check out qubes
NixOS can be a real pain when it comes to pre boot encryption and secure boot. If you’re intending on going deep into hardware security I’d avoid it.
Say more?
NixOS supports headless LUKS, which was an improvement for me in my last distro-hop. The NixOS wiki even has an example of running a TOR Onion service from initrd to accept a LUKS unlock credential.
The situation is changing, they are actively working on it, if not finished already