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?

  • moonpiedumplings@programming.dev
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    edit-2
    21 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).