this post was submitted on 06 Jul 2026
13 points (100.0% liked)

Nix / NixOS

2801 readers
2 users here now

Main links

Videos

founded 3 years ago
MODERATORS
 

This may be an unusual thing but I realised that use nix run a lot instead of putting the package in my nixos configuration. It's often on packages I run at most once every 3 days

Am I the only one that does that?

you are viewing a single comment's thread
view the rest of the comments
[–] moonpiedumplings@programming.dev 6 points 6 days ago* (last edited 6 days ago)

I use nix-shell -p for infrequently used commands, or nix shell flake#packagename for flakes. I prefer the shell environment because I rarely need to run something only one in a session. Usually I forget the cli arguments, and then have to run --help and so on.

For anything I need more frequently, I usually install either via home manager if I care about a specific/newer version, or just as a system package (I don't use NixOS).