nix-software-center icon indicating copy to clipboard operation
nix-software-center copied to clipboard

non-nixos distros?

Open bitnom opened this issue 1 year ago • 1 comments

Can nix-software-center be used on debian-based distros without issue? I'm new to nix, and would like to use the package manager without the OS.

bitnom avatar Jan 03 '24 20:01 bitnom

My understanding from reading the source is that it will install packages with either nix-env or nix profile (you can choose from the configuration), i.e. imperatively, so I guess it might just work in non-nixos distros out of the box (but please report if it is not the case). Since it is a graphical tool, you might need nixGl to run it properly, but it is not specific to that tool.

EDIT

At least it has two modes:

image

If you choose configuration.nix, it will edit your file and add the software in the environment.systemPackages section, but with the User mode it will install it imperatively.

tobiasBora avatar Jan 12 '24 21:01 tobiasBora