Fair warning, I haven't looked hard at NixOS but what I have heard about it I really like. I'm wondering if it makes more sense to switch from my current package manager dnf to NixOS package manager. Or should I just go straight into NixOS. Trying package manager seems easier to me.
154 sats \ 1 reply \ @freetx 23 Feb
As a disclaimer: I think NixOS is cool. I'm happy it exist. I like reading about it, and I'm happy its users like it.
Why I don't use it: Its not because of its ideas, in fact I support mostly all of its ideas. However, I find that I can achieve more or less the same outcome using a more traditional distro (Fedora Silverblue) with a more generalized configuration management utility (Ansible).
By using Ansible, you don't get the same pure reproducible build that NixOS offers, but you get 99% of it. Ansible is idempotent, so much like Nix you are declaring the state you want your OS to be in (this package installed, this service enabled, this custom config edited, etc). In practice this yields an single file that you can reproduce your current OS from....its "self-documenting" like Nix in that regard.
The benefit is that Ansible knowledge scales. You can use it to manage any OS (including Windows), so its a more useful skill to gain.
Silverblue is based around rpm-ostree and the filesystem is atomic-based. The theory of operations is you should only install absolutely critical OS-level packages and everything else should be relegated to Flatpaks, Containers, and Toolboxes (Distroboxes).
Note on the last point. Toolboxes / Distroboxes (I prefer Distroboxes) are effectively like super-chroots / LXC's. But that they automagically integrate with your local environment. So I can have a Alma9, Debian 11, Ubuntu, and Fedora 35 "container environments" all running simultaneously - each hosting different apps or environments. All of these environments can access my local machine including Wayland, hardware, etc.
Finally, by running most traditional apps as Flatpaks, I get the security benefits of sandboxes plus the freedom upgrade to always latest version without the risk of incompatibilities at OS level
reply
0 sats \ 0 replies \ @kepford OP 23 Feb
Thank you for this detailed comment and explanation of Silverblue. You are right about Ansible. Giving me some good food for through. I think I need to try both operating systems. I know a bit of Ansible and it would be useful at work as we use it. I actually work at Red Hat lol.
reply
54 sats \ 7 replies \ @siggy47 23 Feb
I'm no expert, but it wasn't too bad a transition to NixOS. Now I really like it. One negative I have heard for someone like me is that what I learn on NixOS is not transferrable to other Linux distros. It may not apply to you if you've got a lot of Linux experience under your belt.
reply
219 sats \ 6 replies \ @nerd2ninja 26 Feb
I'm not sure how true this idea that what you learn isn't transferrable to other distros. I've seen that you can use flakes on all sorts of distros. Home manager in particular I heard of being useful for multiple distros.
reply
624 sats \ 5 replies \ @siggy47 26 Feb
You might be right. I'm probably not the right person to ask, because once I switched to linux I used Ubuntu for a month or two, then switched to NixOS. I have used it more than other distros. Also, I am by no means an advanced power user.
reply
219 sats \ 4 replies \ @nerd2ninja 26 Feb
Well if you learn through these Nix tutorials and documentation you sure will be an advanced power user lol.
reply
33 sats \ 3 replies \ @siggy47 26 Feb
It's kind of fun. It's my retirement hobby.
reply
219 sats \ 2 replies \ @kepford OP 26 Feb
One thing I've learned about technology over the years. If you ask, there will always be telling you that you are doing it wrong. No matter what you do. The best way to learn is to dive in.
reply
0 sats \ 1 reply \ @kepford OP 26 Feb
"Programmers know the benefits of everything and the tradeoffs of nothing." ~ Rich Hickey
reply
0 sats \ 0 replies \ @nerd2ninja 26 Feb
Joy lmao
reply on another page
100 sats \ 1 reply \ @jurraca 24 Feb freebie
If you're looking to try out the Nix package manager, you can safely use it alongside your existing package manager, on mac, linux or windows, and slowly get used to it as needed.
If you're looking to use NixOS as your OS, that's a big jump. One method I recommend to dip your toes is to run the OS in a VM. If you use a Mac, Mitchell Hashimoto published his setup and guide to do so (link) . There are a variety of Linux guides elsewhere to do this too. glhf :)
reply
0 sats \ 0 replies \ @kepford OP 24 Feb
Thanks. Sounds like solid advice.
reply
33 sats \ 0 replies \ @Malachi17 23 Feb
It's better to go all in if you are going to go. NixOS is weird.
reply
33 sats \ 1 reply \ @emmanuelrosa 23 Feb
Here's the easy way: Read the NixOS thesis. If after reading it you're not compelled to use NixOS, then NixOS is not for you.
There's no denying that there's a steep learning curve to Nix and NixOS. But that doesn't matter if you've become convinced that what NixOS has to offer far outweights the effort you'll need to put into learning it.
https://github.com/edolstra/edolstra.github.io/blob/master/pubs/nixos-jfp-final.pdf
BTW, the Nix package manager can't replace the native package manager (ex. dnf). You'll see what I mean after you read the document linked above.
reply
0 sats \ 0 replies \ @kepford OP 23 Feb
Thank you!
reply
33 sats \ 0 replies \ @02ac4a7bd5 23 Feb freebie
Just switch to NixOS. Plenty of tutorials out there to help you get started.
reply
0 sats \ 2 replies \ @BlokchainB 23 Feb
Nix is too damn hard!
reply
100 sats \ 1 reply \ @nerd2ninja 26 Feb
Nix is too damn different and the documentation is scattered about and there might not be a package for your favorite program yet, but once you get it, its actually easier than Ubuntu!
I definitely think we can get something like Synaptic (which is the apt GUI for Ubuntu) for nix created. Just gotta learn dev shells and things...my favorite GUI ruby gem glimmer isn't a nix package yet so I gotta figure all of that out lol.
reply
0 sats \ 0 replies \ @BlokchainB 26 Feb
Exactly 😂
reply