this post was submitted on 30 Aug 2023
699 points (97.4% liked)
linuxmemes
21281 readers
13 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows.
- No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.
founded 1 year ago
MODERATORS
NixOS was for me the thing that stopped me from distro hopping and re-installations. I just don't care anymore to switch to anything, everything works how I want and I can focus on using it.
I’m using Debian right now, and it has been the most stable, and battery efficient distro I’ve used on my laptop. I see NixOS a lot on here, and went to look it up. I couldn’t discern really what makes it good, so may I ask for your “review” of it compared to Debian?
If you happen to customize your OS a lot, with NixOS you can define everything from one configuration: all your packages, your shell aliases, kernel parameters or for example the desktop wallpaper.
You can push this config to GitHub and clone it to another NixOS machine and that one will have exactly the same packages, kernel parameters, shell aliases and wallpaper. Even the package versions, including all the libraries will be the same everywhere.
You can even patch your tools from these configs, have custom kernels and go really crazy. When you commit your changes, they work exactly the same in all your machines. And on boot, you get a list of configurations, so you can boot to the previous config of your current changes broke something, go fix what you broke and retry.
And, with nix the tool, your team can provide the
flake.nix
andflake.lock
files in the software project you all work for. It will then make sure everybody gets the right versions from the dependencies, compilers, linters, etc. If it works for one, it works for all.Nix the tool let's you try this out in systems like other Linux distros or removed. NixOS is an OS that is taking a step further and requiring you to define the whole system with Nix.
Oh, and a sibling project Home Manager is great for reproducible dotfiles.
Thank you so very much for your review. It helped me understand it a lot more than their webpage did! I’m a casual when it comes to Linux in that I just want to set it up, and never touch it again unless I get bored or have to. This sounds like a tinkerer’s dream OS, and that is awesome in itself. It’s just more technical than I have the time for right now.
Adding a little to the other comment: Nix packages are fully reproducible, so you can verify they're built from the source they're claimed to be. That makes package distribution more secure. (E.g. Debian could add malicious code to some packages before compiling them, and you'd never know. Not saying they do that, but they're able to.)
Thank you for the further explanation! I was able to see from the above that it may not be an OS for a casual Linux user like myself, but I think it is awesome for someone who wants to tinker to their hearts desire and make their system their own!
Maybe adding a warning to my previous comment. Going full-on NixOS is like learning vim for the first time. It is complex, takes a lot of time and you need to re-learn lots of things. Maybe evaluate are the good parts enough for you to spend a year re-learning how you use computers worth it. For me it definitely was.