News for hackers. Stuff that matters.
Re:Manjaro is a free and open source Linux operating system ... by pmarreck on Thursday June 08, 2023 @07:49PM (#36251024)
> The "immutable" concept

Which is both good, and actually sane.

NixOS: Exists. (And runs great after I moved from Arch 1.5 years ago!)

Re:Manjaro is a free and open source Linux operating system ... by jchw on Thursday June 08, 2023 @07:54PM (#36251071)
Indeed, I am running NixOS on five different devices. It's quite a time and effort investment, but I feel like once NixOS "clicks" for you, it ruins most other operating systems, which just feel like they're missing something now. I still generally recommend Arch to people (although hearing what people are saying, I'll probably start recommending EndeavorOS instead) because I think most people are barely able to make the Linux commitment in ideal conditions, much less the NixOS commitment.
Re:Manjaro is a free and open source Linux operating system ... by pmarreck on Thursday June 08, 2023 @07:56PM (#36251082)
> It's quite a time and effort investment, but I feel like once NixOS "clicks" for you, it ruins most other operating systems, which just feel like they're missing something now.

I found this to be 100% correct. You feel like you won’t ever need to distro-hop again, right? Like this is the penultimate Linux distro? Right?

Re:Manjaro is a free and open source Linux operating system ... by rgoulter on Thursday June 08, 2023 @11:01PM (#36252567)
To be clear: 'penultimate' means 'next to last', whereas 'ultimate' means 'last'.

Since NixOS's rough edges can be quite rough, perhaps 'penultimate' may be more apt. (I mean, when NixOS works well, then it is amazing; but if you hit some use case where NixOS is difficult to use, then it requires more effort/understanding to get through).

Re:Manjaro is a free and open source Linux operating system ... by Aerbil313 on Thursday June 08, 2023 @09:28PM (#36251976)
I’m gonna start using NixOS as my daily driver in a short time, may I ask whether you can pinpoint me to that part which needs to click? Is it learning Nix/being able to write derivations? (also learning resources etc.)
Re:Manjaro is a free and open source Linux operating system ... by Xaiph_Rahci on Thursday June 08, 2023 @09:43PM (#36252077)
The entire OS being declarative. You tell it what is required, not how to do it, as in other OS.
Re:Manjaro is a free and open source Linux operating system ... by jchw on Thursday June 08, 2023 @11:45PM (#36252862)
I can't really fully encapsulate it in a comment really, but I can give you some advice:

1. Use flakes to set up your system and do work with. It sometimes feels underdocumented, but it's worth some headscratching imo.

2. Don't worry about putting everything in the base system. Stick to services (Tailscale, Syncthing, etc) and system/base desktop software. It's easy enough to use nix run, or Podman, or flatpak, or even AppImage to a degree.

3. Want to configure something declaratively? Before pulling out HomeManager or another user tool, consider configuring software at the system level. I do this for Zsh, SwayWM, etc. As a bonus, you can easily block off shell startup files and chown them to root so that malware can't trivially insert themselves there. (It's a weak protection, but definitely doesn't hurt in addition to other approaches.)

There's more (I recommend using Nix-ld to support AppImage and raw binaries better) but these things go a long way.

Re:Manjaro is a free and open source Linux operating system ... by colordrops on Friday June 09, 2023 @12:23AM (#36253115)
What clicks is that the OS seems to go against entropy, getting more stable the longer you use it and update your config, as opposed to other distros, which get cruftier over time, after which you have to reinstall every couple years, not remembering half the things you did to set it up. As others have said, it's immutable and completely built from config, and you can basically configure anything, so you can effectively redeploy a machine form config in minutes. Furthermore, it creates a snapshot every time you deploy, so you can always roll back if you break something.

Nix is basically the future of operating systems. The one problem that still needs solving, which is blocking wider adoption, is ease of use. People are working on making the command line tools easier, but what will really do it is something that abstracts away config generation with a UI installer and tools, but opens up the config if you go into "advanced mode" or something like that.

Re:Manjaro is a free and open source Linux operating system ... by 3np on Friday June 09, 2023 @01:49AM (#36253799)
I'd strongly advice on using Nix in some other context (local dev environment for some or all your projects, for example) before jumping into NixOS as your daily driver, especially for a workstation where you work with dev.

Helps to get some intuition on what fits where.

Re:Manjaro is a free and open source Linux operating system ... by toastal on Thursday June 08, 2023 @11:34PM (#36252790)
Tangent to sibling comments, you are free to make overlays akin to compile derivations with Gentoo-style machine architecture optimizations.
Re:Manjaro is a free and open source Linux operating system ... by FuriouslyAdrift on Friday June 09, 2023 @08:26AM (#36256800)
Also Fedora SilverBlue... https://fedoraproject.org/silverblue/