snowfallorg / nix-software-center

A simple gtk4/libadwaita software center to easily install and manage nix packages
GNU General Public License v3.0
529 stars 16 forks source link

non-nixos distros? #54

Open bitnom opened 6 months ago

bitnom commented 6 months ago

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.

tobiasBora commented 6 months ago

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.