I run Debian12 on my laptop, because I am want to become used to Debian as a server OS.
However I am interested in the fresh stuff also and thought off nix as additional source for packages fresher then Debian’s. Namely things like git, Ansible, podman, kubectl, but also gui application like blender.
Now … looking at some things here and there I see that nix is vast, huge, endless and I am wondering whether, due to that, it can help with what I describe above, without taking up all focus trying to maneuver nix itself.
To be more specific … I want to use podman
as my daily container driver but do not have any because I could not figure out yet how to get it from nix the right way. That said for now nix has distracted me from working with podman thus far rather then helping me to run the latest and greatest of it.
I looked at nix from 2 angles thus far
nix-env
→ learned it should be avoidednix-shell
→ ephemeral more or less
on both end I felt to look into an abyss with the danger to getting absorbed completely by that before anything practically useful come out of it.
Let’s say, for starters I am not so much interested in the abilities to create isolated, or ephemeral environments. but want to use packages (as the aforementioned podman
, Ansible
, blender
) regularly.
So what I am looking for is advice on which might be a good entrypoint into the nix world ?
Something like nix install podman
, nix remove podman
and then later down the road explore the other (obviously amazing) capabilities beyond such simple stuff.
Or Is it getting to learn how to use nix-shell
in a certain fashion still?
the confusion start already with the distinction nix-shell
vs nix shell
which, as per man nix-shell
Disambiguation
This man page describes the command nix-shell, which is distinct from nix shell. For documentation on the latter, run nix shell --help or see man nix3-shell.