💾 Archived View for thatit.be › 2024-08-04-09-39-43.gmi captured on 2024-09-29 at 00:36:26. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-08-18)

➡️ Next capture (2024-12-17)

🚧 View Differences

-=-=-=-=-=-=-

NixOS on ubuntu

I’m stumbling through my Ubuntu setup and having to add software, but when I want to try something new I run the risk of irrevocably modifying my system and leaving behind artifacts from whatever thing I tried out. So I figured this was a good reason to try out Nix on Ubuntu.

installing NixOS

I ran the command mentioned on the [web site]:

sh <(curl -L https://nixos.org/nix/install) --daemon

Which failed because curl wasn’t installed by default.

So…

sudo apt-get install curl

Wait a while.

sh <(curl -L https://nixos.org/nix/install) --daemon

Answer a bunch of prompting (mostly hitting enter) and wait a while longer.

using it

I launched gajim as my first test.

nix-shell -p gajim --run gajim

It downloaded for a really long time. Then popped up.

That didn’t install it though. I think I can just make a configuration.nix file and put it somewhere but I have to read on that.

In the mean-time, this will install software:

nix-env --install gajim

caveats

The --daemon option installs the Multi User NixOS. Which the docs say is harder to uninstall but I don’t know what that means. I’ll probably just wipe the SD card if I need to change the OS in any meaningful way, since it’s a Raspberry Pi.

Tags

#ubuntu

#nixos

Navigation

index

tags

updated: 2024-08-04 10:04:08

generated: 2024-09-27