This repository catalogs various services that can be self-hosted on NixOS, providing users with an effective initial configuration to start with. The objective is to promote the simplest methods for replacing various proprietary services using a machine running NixOS.
For managing videos, music and photos.
Jellyfin provides a self-hosted alternative to the likes of Netflix and Spotify.
services.jellyfin = {
enable = true;
openFirewall = true;
};
Tip: Create a dedicated folder (e.g.: /Data
) owned by the Unix group jellyfin
organizing your content inside it.
navidrome is a Web UI (with compatible mobile apps) that streams your music files, providing a self-hosted alternative to Spotify.
services.navidrome = {
enable = true;
settings = {
Address = "127.0.0.1";
Port = 4533;
MusicFolder = "/var/lib/navidrome/Music";
};
openFirewall = true;
};
Tip: Use yt-dlp -x <url>
to download YouTube videos as audio, and place them under MusicFolder
(owned by navidrome
user) to start populating your music library (credit).