Navidrome: Difference between revisions

Onny (talk | contribs)
Tips and tricks: Importing playlists
Onny (talk | contribs)
No edit summary
 
Line 3: Line 3:
=== Setup ===
=== Setup ===
Simply add to your system configuration and apply<syntaxhighlight lang="nix">
Simply add to your system configuration and apply<syntaxhighlight lang="nix">
services.navidrome.enable = true;
services.navidrome = {
  enable = true;
  settings.MusicFolder = "/mnt/audio/music";
};
</syntaxhighlight>The service should be available add http://127.0.0.1:4533. Continue adding an admin login including setting a password.
</syntaxhighlight>The service should be available add http://127.0.0.1:4533. Continue adding an admin login including setting a password.
If you have your music library outside of the systemd unit profile path, you'll add to have it to <code>BindReadOnlypaths</code><syntaxhighlight lang="nix">
systemd.services.navidrome.serviceConfig = {
  BindReadOnlyPaths = [
    "/mnt/audio/music"
  ];
};
</syntaxhighlight>
=== Tips and tricks ===
=== Tips and tricks ===