How to install nix cleanly?

Hello all.

I want to install nix, but the quick install method in NixOS - Getting Nix / NixOS is a bit ugly.

I couldn’t find any initiatives to package this into Fedora, which surprised me, as nix is an amazing technology, helpful specially on workstations (ahem).

Is there a way to install it with the usual ergonomics of an rpm? Is there any initiative to package it into Fedora?


What is your system? What Fedora?
Ugly, what do you mean?

There are some copr’s.

That being said, I think the script from the nix site is pretty clean. nix lives in it’s own space so it should be fine.

1 Like

I’m on fedora silverblue 35.

By “ugly” I mean it’s not a rpm package, with automatic updates and so on.

Also I couldn’t find any copr.

Some software is only ‘ugly’. Most of them will warn you to manually update.

In your case, you wouldn’t want to push nix into an overlay. Isn’t it actually far better for it not to be a package on Silverblue?

It has been a while since I ran nix outside of nixos but aren’t the nix commands updated by nix itself? You should already be using nix to update all the software you install with nix.