4
submitted 1 year ago* (last edited 1 year ago) by L0Wigh@sh.itjust.works to c/linux@lemmy.ml

Hi everyone!

I saw that NixOS is getting popularity recently. I really have no idea why and how this OS works. Can you guys help me understanding all of this ?

Thanks !

all 25 comments
sorted by: hot top controversial new old
[-] Tilted@programming.dev 1 points 1 year ago

I used NixOS for a couple of years. My experience is like this:

  1. It is a rolling release (mostly)
  2. You write a declarative configuration for your system, e.g., my config will say I want Neovim with certain plugins, and I can also include my Neovim configuration
  3. It is stable, and when it breaks it is easy to go back
  4. Packages are mostly bleeding edge
[-] Atemu@lemmy.ml 1 points 1 year ago

Note that there's both the rolling unstable channel and a bi-annual stable release channel.

[-] priapus@lemmy.one 1 points 1 year ago

Important to note that NixOS has both a rolling release and point release version.

[-] IncidentalIncidence@feddit.de 1 points 1 year ago

I didn't get it either, but this video does a pretty good job explaining why it's different: https://www.youtube.com/watch?v=DMQWirkx5EY

[-] datendefekt@lemmy.ml 0 points 1 year ago

Glancing over the website, I thought it's an immutable OS, like Fedora Silverblue. I could imagine that it might be cool to use with Ansible and stuff. But for an average user? I can't really see the advantages in respect to the work you have to put in.

[-] nani8ot@lemmy.ml 1 points 1 year ago

It is an immutable distro, altough it isn't image-based like Fedora's rpm-ostree.

NixOS basically replaces Ansible because the Nix package manager achieves the same goals already (configuration, deployment, ...).

But I agree, the work necessary to put into this non-standard distro makes it hard to recommend for a casual user.

[-] JASN_DE@feddit.de 0 points 1 year ago

everyone

Now that's what I'd call a stretch...

[-] barsoap@lemm.ee 3 points 1 year ago

Indeed, why would I switch, already have been running NixOS for 10+ years.

[-] L0Wigh@sh.itjust.works 1 points 1 year ago

I'll edit. That was clearly a stretch

[-] blackstrat@lemmy.fwgx.uk 0 points 1 year ago

All I year about from the linux community is NixOS and btrfs, neither of which I have any interest in. It almost feels like someone with an agenda is promoting these two with how prevelant they are.

[-] 80KiloMett@discuss.tchncs.de 0 points 1 year ago

I like using btrfs with Arch because of the snapshots. If an update breaks something I can just boot into a snapshot from grub keep using my PC and solve the problem later. It's very useful... yes... very... you should try it... come... try btrfs... it's warm and cozy... INSTALL IT!

[-] blackstrat@lemmy.fwgx.uk 2 points 1 year ago

I have tried btrfs in the past and when it goes wrong you are utterly shafted. You can't even mount it as a read only file system, it will just lock you out entirely. And the support isn't great, I ended up finding something that had a disclaimer along the lines of "only run this if you really know what you're doing", but obviously I didn't as the documentation didn't tell me enough to know. So the only people who could possibly know are the developers of the file system themselves. Anyway, I was 2 days in to trying to recover my data by this point so I gave it a go, nothing to lose - it refused to do anything. Great.

So in summary I'm not going to try it again.

[-] chayleaf@lemmy.ml 2 points 10 months ago* (last edited 10 months ago)

can confirm, I've recently had my btrfs partition on NixOS go permanently read-only because it ran out of metadata space (which you can't extend without write access, even though btrfs does reserve 0.5GB of metadata space) so I've switched to bcachefs

[-] moldyringwald@kbin.social 0 points 1 year ago

It's insanely stable but you have to have a lot of linux/programming knowledge to do even the simplest things like installing/updating your software or making little tweaks. I played with it for hours the other day and I'm just too dumb to figure it out lol I think it's just a super stable highly customizable distro for power users and a lot of people like that. If you can get over the learning curve it's a pretty powerful and unique os

[-] Chobbes@lemmy.world 1 points 1 year ago

It's kind of funny because I'd put NixOS on a complete newbies computer for sure, and recommend it to an expert... But I'm less sure if I'd tell a random mid-intermediate Linux user to switch.

Like if Grandma wants Linux on their computer to do some internet browsing for some reason... I'd absolutely put NixOS on it because it's easy to manage the system for them... But somebody who is a little familiar with Linux already might be more confused about the differences. It's kind of the ultimate beginner distro and the ultimate power-user distro, but a bit awkward between those extremes, haha.

[-] hyperspace@kbin.social 0 points 1 year ago

What about Nix's financial issues? Have they been resolved yet?

[-] Atemu@lemmy.ml 0 points 1 year ago

To get it out of the way first: There are no financial issues. There are more than enough funds to continue operations as they are for a sufficiently long time.

What is actually happening is that a long time sponsor has indicated that they (understandably) no longer want to foot the huge bill of hosting the entire archive of binary caches ($9000/mo). Finding a more sustainable setup is what the community is currently concerned with.
There is no risk of operations shutting down any time soon, the NixOS foundation has funds set aside to continue even this unsustainable setup for at least a year. We just want to be more efficient with our and others resources going forwards.

That's what all this you might have heard of is about.

Btw, even if the binary cache were to go poof, we don't technically need it. NixOS is a source-based distro like Gentoo and source hosting is not a concern. The binary cache is immensely helpful though which is why we'd obviously prefer to keep it.

[-] choroalp@programming.dev 0 points 1 year ago

I think AWS Gave them 12 months of free credit to host cache

[-] Atemu@lemmy.ml 0 points 1 year ago

Yes, AWS gracefully sponsored 12 months of our S3 bill which gives us even more time to enact change.

That's just the short term resolution though, the Nix community is still looking into more sustainable long-term solutions.

[-] root@precious.net 1 points 1 year ago

$9,000/mo? Have you considered not using the most ridiculously expensive method possible?

[-] root@precious.net 1 points 1 year ago

Thinking about this further..

I can purchase 10GE fiber, at home, for $299/mo.

I can purchase a solid 16 bay Supermixro server for around $5k

16TB drives are $168. There's $3,700 left so let's buy 21 drives (336TB, 235TB usable under raidz3 zfs). We'll leave that last $170 for .. electricity.

Leasing all of this from a regular hosting provider woul be much more cost effective. I work for one, what the heck are you doing man?

[-] Atemu@lemmy.ml 1 points 1 year ago

You aren't a reputable public hoster with AWS-class uptime. That has a price too. AWS is likely overpriced though, hence the nix community still looking for better alternatives.

[-] Atemu@lemmy.ml 1 points 1 year ago

the Nix community is still looking into more sustainable long-term solutions.

this post was submitted on 19 Jun 2023
4 points (100.0% liked)

Linux

48113 readers
696 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS