this post was submitted on 16 Dec 2024
101 points (97.2% liked)

nixos

1292 readers
3 users here now

All about NixOS - https://nixos.org/

founded 4 years ago
 

As per title, I am mind-blown by the speed and stability of NixOS on this "relic" in IT terms... On this machine i tested:

Distro Performance
Fedora MEGA slow
Ubuntu OKish
LDME Fast
Debian Fast
NixOS VERY Fast

And the best thing is that I can bring this config with me on any computer! Oh boy, I think i have fallen in love with NixOS

top 35 comments
sorted by: hot top controversial new old
[–] notharry123@fish.hypervirtual.world 0 points 21 minutes ago (1 children)

@Loucypher hey ! are you using zen browser flatpak??

[–] Loucypher@lemmy.ml 1 points 16 minutes ago

Yes indeed, but only because it is not on the Nix repositories yet

[–] crazyminner@lemmy.ml 1 points 2 days ago (1 children)

Would nixos work on their M4 minis?

[–] Loucypher@lemmy.ml 1 points 2 days ago

Nope. Too soon for that

[–] circuitfarmer@lemmy.sdf.org 3 points 5 days ago (1 children)

Excellent.

It is readily accepted that Linux reduces overhead versus Windows on the same system.

What is less readily accepted is the same result versus macOS. Yes, it is considerably more work to get Linux running well on a Mac, since it is ultimately a closed ecosystem. But the point should be made that macOS also has a lot of unnecessary overhead over which the user has little or no control.

The PC vs Mac thing should be dead by now, tbh, in favor of corporate vs FOSS.

[–] Loucypher@lemmy.ml 1 points 4 days ago (1 children)

Very easy to flash Linux on an intel based Mac ;)

[–] circuitfarmer@lemmy.sdf.org 1 points 4 days ago (2 children)

Yet not as easy as loading it on a PC, which was my only point there.

[–] Loucypher@lemmy.ml 3 points 4 days ago

not at all, it exactly the same process. Same level of difficulty. Given you do it on an intel Mac, Mx series are a royal pain

[–] Duamerthrax@lemmy.world 1 points 3 days ago

I haven't done extensive testing, but I never had any issues installing Linux on my 2012 and 2013 macbook pros. Same exact process.

[–] Gebruikersnaam@lemmy.ml 4 points 5 days ago (2 children)

How is fedora that slow? Is it due to btrfs? Is tracker running in the background?

[–] Loucypher@lemmy.ml 5 points 5 days ago

No idea… a real bummer but I am grateful I could not get it to run smoothly as it pushed me to eventually land on NixOS

[–] TBi@lemmy.world 1 points 4 days ago

I run fedora on a 2009 thinkpad and it’s fast. I’m surprised NixOS is that much faster.

[–] Zachariah@lemmy.world 5 points 6 days ago (1 children)

Did you leave a MacOS partition for firmware upgrades, or just make sure it was fully updated before wiping?

Does all the hardware work? Which guide did you use for prep and install?

[–] Loucypher@lemmy.ml 6 points 6 days ago* (last edited 6 days ago) (1 children)

It was updated before wiping yes. Those macs are abandonware, they stopped receiving firmware update a while ago. Followed no guide, the install wizard was very easy. All components worked out of the box

[–] Zachariah@lemmy.world 2 points 5 days ago

That’s great. I have a few Macs about that age, and I was really hoping to revive them with Linux.

[–] dedsyn4ps3@fosstodon.org 4 points 6 days ago (1 children)

@Loucypher very promising to see this! Been running #NixOS for quite some time on several devices, and will be coming into possession of a nice iMac that's just out of reach of OS updates.

I was already planning on slapping Nix on it, but this just reassures me a bit more! 😅👌

[–] Loucypher@lemmy.ml 1 points 6 days ago

Your iMac will thank you for it ;)

[–] Wooki@lemmy.world 2 points 5 days ago* (last edited 2 days ago) (1 children)

Yay welcome to the club. Now for home manager, flakes, and modules. Its awesome

[–] Johanno 3 points 5 days ago (1 children)

I still am fighting learning those! I don't have home manager. I will avoid flakes at all costs and never heard of modules....

My stuff works anyway

[–] Wooki@lemmy.world 2 points 5 days ago

Once you are comfy with base configs. Simple flakes become a dream simplifying your configs especially helpful when your using nix on more than one computer.

Vimjoyer on youtube has a bunch of vids that really helps and he keeps it simple.

[–] reddig33@lemmy.world 2 points 6 days ago (1 children)

Why do you feel nix is faster than the other builds? Something related to graphics drivers?

[–] Loucypher@lemmy.ml 3 points 6 days ago* (last edited 5 days ago)

I guess there is just less bloat running in NixOS. But then again, the difference between Debian and NixOS is very subtle. Debian/LMDE run great on that hardware

[–] satanmat@lemmy.world 2 points 6 days ago (1 children)

Nice!

I’ve got a similar iMac I’m looking to Linux as it is well past getting any more macOS updates.

Did you wipe macOS?!or did you bootcamp?

Thanks

[–] Loucypher@lemmy.ml 2 points 6 days ago

Totally wiped, yes

[–] avieshek@lemmy.world 1 points 5 days ago (3 children)

I have a Mid-2012 MacBook Pro, got 16GB RAM but still a spinning hard drive. How does it compare to Pop!_OS?

[–] TBi@lemmy.world 1 points 4 days ago

Get an SSD. Makes a massive difference

[–] OhYeah@lemmy.dbzer0.com 1 points 5 days ago

I've ran both pop_os and nixos on the same laptop, albeit a newer laptop, and they felt the same to me performance wise. My experience is that if they're using the same kernel, same init system, same desktop env, etc they'll prob feel the same

[–] Loucypher@lemmy.ml 1 points 5 days ago (1 children)

I guess PopOS performs like vanilla mint or like Ubuntu. NixOS feels very snappy even on Gnome on a 8gb machine from bloody 2012

[–] avieshek@lemmy.world 1 points 5 days ago

Would you like the point some differences like inteface (UI-UX), driver support, features, performance etc?

[–] Mucki 1 points 5 days ago* (last edited 5 days ago) (3 children)

Thank you. Will try NixOS on a desktop soon. Speed is also very much related to the kernel, so you may want to compare kernels, too. I.e. Debian standard, Liquorix, Debian realtime, MX AHS, etc. I figured the rt kernel generally performs best for non-dGPU systems. And also the WM: KDE is unbearable for me, really slow on old thinkpads, while with XFCE everything is blazing fast.

[–] Laser 3 points 5 days ago

The NixOS kernel is pretty vanilla

[–] Atemu@lemmy.ml 2 points 5 days ago (1 children)

The kernel is one of the least important components when it comes to performance.

Kernel tweaks can eek out a couple percent here or there for your specific task (while likely regressing in others) but nothing really significant.

FWIW though, we have lqx and rt variants in NixOS (though rt is mainline now with 6.12).

[–] Mucki 1 points 5 days ago* (last edited 5 days ago) (1 children)

Generally yes.

Here is two examples from my recent experience:

  • Run custom realtime software on rt and non-rt kernel: Huge difference when I look at milliseconds and latency.
  • I ran Minecraft recently on the standard and rt kernel, with realtime it performs much better (no dGPU)

I will look into nixOS definitely. Last time I checked must have been 2018 hehe

[–] Atemu@lemmy.ml 2 points 5 days ago

Right if you have applications with rt constraints, you'll obviously need a rt-capable OS but that's more a matter of it being available as a feature, rather than being performant enough.

[–] Loucypher@lemmy.ml 1 points 5 days ago

You’re right I got the latest and greatest kernel and that surely plays a factor