5 ms·
NixOS is more complicated than you think but OpenCode fixed it
- aidenn0 3mo agoI'm not sure how much of this is complicated because of NixOS; going this far off the beaten path would be rather complicated in any distro. I'd be a lot more sure if the author had posted their nixos configuration somewhere...
- kesor 3mo agoHow is this low-effort zero-value non-article even on the first page of HN in the first place?
- SOLAR_FIELDS 3mo agoAgree but I think it’s interesting to discuss the larger implication here. Nix the language and ecosystem has historically been completely unapproachable for people unwilling to beat their head against the wall continuously to figure it out. It is famously unapproachable. Now, the benefits are accessible to the quasi-layman. Good news all around
- feverzsj 3mo agoFriends/bots upvotes. It's like the only way to get your post on first page nowadays.
- aidenn0 2mo agoDid you see the 26 minute long video?
- tim-projects 3mo ago> Ultra lightweight Doesn't nixos use a lot more diskspace than arch, because of its store?
- linsomniac 3mo agoIt seems like the "lightweight" they seem to be concerned with is RAM, not disc. I can't really comment on disc space usage on my own NixOS system, though my "thin client" skin does fit nicely on an old Chromebook, I think that guy has 32GB of storage.
- SOLAR_FIELDS 3mo agoI’ll just say as nix Darwin user the default vanilla install does not garbage collect well and every 2 months or so I have to hack around nuking shit in my system to free up space. Maybe NixOS itself is better managed and it’s an idiosyncrasy of nix-Darwin. Maybe not
- tim-projects 3mo agoI like the sound of nix but the disk space issue is a deal breaker for me - my sdd is always full. I run my main arch system in under 6GB. That's enough for qemu and wine and a few other bits which is all I need - the rest is in VMs Would like to switch it to nix though..
- SOLAR_FIELDS 3mo agoI think, like everything with Nix, if you recite the correct incantation for configuration you can avoid this issue. But it’s not default behavior
- yjftsjthsd-h 3mo agoOTOH I have an ex Chromebook with 16G of storage that I meant to run NixOS until I discovered the initial install needed almost half the disk so I figured it was doomed the moment I tried to update while also having some space used in home. It runs Alpine now, very comfortably.
- linsomniac 3mo agoI've had a similar experience with NixOS configured by Claude Code, and it's been really nice. I have the same config on 3 machines, all managed in one git repo, including home manager and sops, and one of the machines I skin as a "thin client" removing most of my development tools and just using it to SSH/wezterm in to my main dev box, on a small and light ex-chromebook.
- whydoineedthis 3mo agoHow is this considered “repeatable” when it takes several pages to describe how it’s glued together? By the same logic the pyramids of Giza are repeatable. Technically true, but not likely worth the effort.
- aidenn0 3mo agoIt took several hours to do the first time, and it will take several hours to do the next time. Sounds repeatable to me :)