How to Install Navidrome Music Server on NixOS Latest

Navidrome is a lightweight music server that lets you stream your music collection from anywhere. It is built with a focus on performance and usability, and can be easily installed on NixOS. Here’s how:

  1. Open a terminal on your NixOS machine.

  2. Update your system by running the following command:

sudo nixos-rebuild switch
  1. Once the system update is complete, install the Navidrome package by running the following command:
sudo nix-env -i navidrome
  1. After the installation is complete, start the Navidrome server by running the following command:
sudo systemctl start navidrome
  1. Check that the server is running by visiting http://localhost:4533/ in your web browser. You should see the Navidrome login page.

  2. If you want Navidrome to start automatically when the system boots up, run the following command:

sudo systemctl enable navidrome

That’s it! You’ve now installed and configured the Navidrome music server on your NixOS machine. Enjoy streaming your music from anywhere!

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!