News for hackers. Stuff that matters.
Re:NixOS RFC 136 approved: A plan to stabilize the new CLI a... by pkulak on Saturday August 12, 2023 @09:36PM (#37105806)
I don’t know the value of half-assing it, but committing your full ass is amazing. Don’t abandon a working system, but the next time you wait a whole three weeks to pacman -syu and your GPU keys are out of date and everything goes to hell… give it a shot.

Honestly, it’s Home Manager that really adds the maximum value, and getting all the way there takes a full weekend, but what were you gonna do anyway.

Re:NixOS RFC 136 approved: A plan to stabilize the new CLI a... by tiffanyg on Saturday August 12, 2023 @10:00PM (#37105949)
I don’t know the value of half-assing it, but committing your full ass is amazing.

Indeed. As no less than Ron Swanson rendered unto us - an exemplar in classic American yarn form:

https://youtu.be/k6hZ9KdG1QU

... wise words.

Re:NixOS RFC 136 approved: A plan to stabilize the new CLI a... by lloeki on Sunday August 13, 2023 @03:32AM (#37107535)
> Honestly, it’s Home Manager that really adds the maximum value

I feel like Nix does have such killer features, but they are different for everyone.

For me it was:

- system management (nixos + nix-darwin. I wish there was something like nix-darwin for non-nixos linux distros, binding daemon systemd units and desktop files into the "hosting" distro)

- on-the-spot running without globally installing for one shot tasks (nix-shell -p iotop --run iotop)

- "just works" project environment (default.nix+shell.nix or flakes)

These are the ones that made me tip over and decide to go from tiptoeing to full tilt

Re:NixOS RFC 136 approved: A plan to stabilize the new CLI a... by Novosell on Sunday August 13, 2023 @07:19AM (#37108850)
I don't really see the appeal of avoiding to install programs. What's the benefit, exactly?
Re:NixOS RFC 136 approved: A plan to stabilize the new CLI a... by mbakke on Sunday August 13, 2023 @08:34AM (#37109370)
Not needing root is a game changer.

Another benefit is that "traditional" package managers may litter your system with configuration files and post-install scripts (for the software you are installing and all of its dependencies), some of which can persist even after uninstalling the packages.

Nix prevents that by design.

Re:NixOS RFC 136 approved: A plan to stabilize the new CLI a... by lloeki on Sunday August 13, 2023 @09:19AM (#37109766)
One less thing to manage and think about, including cleaning up after myself. It may pull dependencies that I don't care about or want exposed e.g that would be picked up by some other thing. apt-get autoremove --purge or pacman -Rsc become a distant memory.

It's fire and forget and I can just focus on what I'm set to do.

Once I'm done with the one shot task, it disappears and could be garbage collected for all I care.

Some tools I did promote to being part of my user env but crossing that bar is a very deliberate thing, some are promoted to systemwide (root) and the bar for that is even higher.

It removes a ton of mental deadweight.

Re:NixOS RFC 136 approved: A plan to stabilize the new CLI a... by dlyons on Sunday August 13, 2023 @07:41AM (#37108973)
Yeah, nix-darwin is incredible. Use cases you mentioned are great; for me, I love being able to use my NixOS machine and MacBook to seamlessly carry around the same dev environment.

https://github.com/dustinlyons/nixos-config

Re:NixOS RFC 136 approved: A plan to stabilize the new CLI a... by pxc on Sunday August 13, 2023 @03:06PM (#37113102)
> I wish there was something like nix-darwin for non-nixos linux distros

It's in early stages, but it exists now: https://github.com/numtide/system-manager

Re:NixOS RFC 136 approved: A plan to stabilize the new CLI a... by starlevel003 on Sunday August 13, 2023 @06:45AM (#37108632)
> but what were you gonna do anyway?

go outside, talk to friends, do something productive, etc...