random65837,

Nix is awesome for experienced Linux users, AND that want to constantly play with their config file. If you do things and install things at the user level (which way too many do) then you’ve removed the benefit. That said, do it right, and recovering, moving, or duplicating your system could possibly be any faster/smoother.

Not saying it’s hard to learn, but if you’re not used to the CLI and editing config files, I’d start with it in a VM. If you decide you like it after you’ve totally set it up there, then the magic of Nix comes when you install it for real and just redeploy an exact clone thanks to the config file.

Gooey0210,

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

jlow,

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?

makeasnek,
@makeasnek@lemmy.ml avatar

If you want privacy/security, check out qubes

coolboole,

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.

Gooey0210,

The situation is changing, they are actively working on it, if not finished already

chkno,

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.

alt, (edited )

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.


  1. 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.
pineapplelover,

Beyond this, TailsOS would be more anonymous.

Gooey0210,

There’s that Spectrum distro

It’s like Qubes, but on Nixos (it’s in early stages yet)

chkno,

Link: Spectrum

Gooey0210,

It’s in very early stages, so nobody probably would need a link

As I hear from other people using it, it’s like 20% usable

chkno,

It’s worth watching.

Gooey0210,

This is pretty dope, but they have a matrix room, so I can follow the progress there 😁

Chais,
@Chais@sh.itjust.works avatar

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.

doomkernel,

Yeah Nix documentation kind of sucks right now. There are like a 10 different ways to set-up flakes

Chais,
@Chais@sh.itjust.works avatar

Not to mention that they’re still considered experimental.

Atemu,
@Atemu@lemmy.ml avatar

And entirely optional.

Chais,
@Chais@sh.itjust.works avatar

Obviously

Atemu,
@Atemu@lemmy.ml avatar

No, not obviously.

People new to Nix/NixOS always seem to think that flakes are some kind of fundamental shift or something and if you don’t use flakes, you’re not going to be ready for the future or whatever.
No, they’re not. They’re “just” a standardised method of composing separate Nix projects.

In the most common NixOS case (and especially when starting out) you have exactly one external Nix project you depend on and that’s Nixpkgs. Flakes provide very little (if any) benefit in this specific case.

If you’re starting out, you don’t need to care one bit about flakes, experimental features and the documentation of features that are not intended to be commonly used yet (especially not for beginners).

Gooey0210,

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”

Chais,
@Chais@sh.itjust.works avatar

So we have to piece information together from the manual and random blogs? Like cavemen? Or worse, like Windows users??

Gooey0210,

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”

Euphoma,

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.

toastal,

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.

Euphoma,

Other people will know what bootloader you use, what apps you use, etc. Yeah I guess its not a huge concern, but its something.

Gooey0210,

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

Gooey0210,

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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines