Comment by tuananh

6 days ago

> as a nixpkgs developer even I don't use NixOS on the desktop

that's not every encouraging :)

To counterpoint this, I'm an happy nixos desktop user. It's not perfect, but still vastly better than a non declarative distro for my taste.

  • Wholeheartedly agree.

    NixOS gave me back my desire to customise my Linux again. I’ve run Linux since 1997; I’ve run a lot of distros.

    Having to reconfigure my Linux on every hardware reset (1-2 years apart) just exhausted me to a point where I ran GNOME on Ubuntu so I wouldn’t waste time on one-off stuff.

    My .emacs and .vimrc shrunk to 10% so I could reproduce them from memory if I had to.

    With NixOS, installing a new machine and having it work exactly like all my machines is minutes of work.

    I’ll never lose my hyper-customised setup again.

    Running something like Arch or Artix again feels very much like losing my “save” button.

  • Seconded. I switched to NixOS a year ago after an apt install broke my system one too many times, and so far I've been very very happy with it. I've broken things, but being able to roll back to an exact duplicate of the previous state has been a lifesaver. I can't imagine wanting to go back to repairing broken apt installs.

    • This is very curious to me as someone who has used Debian based distros almost exclusively for essentially 20+ years (earlier on was mostly Ubuntu, now just vanilla Debian ever since the whole Snap situation) on all of my servers, VMs, containers, and various desktops. To my memory I’ve never had to fix a system due to a broken apt install, certainly not enough times to be so frustrated as to move to another distribution. On top of that, nowadays I have things configured so a new BTRFS snapshot is created on any apt install/upgrade commands so I can just rollback to the previous snapshot if I did run into any issues, which I haven’t ever needed to do. Though that seems to solve the same issue that rolling back in nix does?

      I absolutely believe you’ve had this problem, but I’m struggling to understand the issue you’re describing. How exactly is an apt install breaking your whole system? I don’t even really understand how an apt install could break an entire system rather than just failing to install the package. Did you mean to say dist-upgrade or something? Are you using Debian or a downstream distribution? If Debian, are you running Sid or is this happening on unstable/stable? I’m just really curious about this situation.

It mostly goes the other way, I think. The community surveys haven't asked about NixOS desktop usage in particular. Still, I'm certain that a large majority of contributors are running NixOS on their desktops/laptops/workstations.

That said there are prolific and longstanding contributors who focus on non-NixOS and even non-Linux platforms, and corporate users are likely to be running Nix on macOS or Ubuntu (under WSL). It's not surprising that some users who don't use NixOS on laptops or desktops have still become Nixpkgs contributors or maintainers, imo.

Why? It just isn't what draws me to Nix.

I've never even really tried NixOS on the desktop TBH.

  • nothing. it's just from someone with no experience with nix like me, it feel weird that someone is already deep into Nix but isn't tempted to use it daily.

    • Maybe it’s everyone else using it on their daily driver that got it wrong?

      It’s like doubting Kubernetes because one of the maintainers doesn’t run their desktop in KubeVirt.

      1 reply →

    • What is so interesting about Nix is that it's not one thing. Its not (just) a distro. Its not (just) a package manager. Its not (just) a system manager. Its not (just) a language. Its not (just) a build tool.

      It is all those things, but specifically, what you want it to be. Yes, that makes it super confusing, but also powerful.

    • I've been using nix in a Mac for a year now. Recently I got a new Lenovo machine and first thing I did was install nixos, it's actually much better than I was expecting. You do notice that nix is designed around nixos

    • You can use it daily, intimately, without using nixos. Using it for dev environments on macos for example, and servers. Did that for years before I installed nixos on my desktop.