mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
add navidrome
This commit is contained in:
parent
492ba6e73f
commit
3208d8fae7
2 changed files with 26 additions and 0 deletions
25
extra/webapps/navidrome.nix
Normal file
25
extra/webapps/navidrome.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.navidrome = {
|
||||
enable = true;
|
||||
settings = {
|
||||
Address = "0.0.0.0";
|
||||
MusicFolder = "/srv/data/music";
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ 4533 ];
|
||||
|
||||
systemd.services.navidrome = {
|
||||
after = [ "network-online.target" ];
|
||||
#unitConfig.RequiresMountsFor = [ "/storage" ];
|
||||
};
|
||||
|
||||
webapps.apps.navidrome = {
|
||||
dashboard = {
|
||||
name = "Navidrome";
|
||||
category = "app";
|
||||
icon = "music";
|
||||
link = "http://192.168.178.60:4533";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -20,6 +20,7 @@
|
|||
./extra/webapps/bazarr.nix
|
||||
./extra/webapps/homer.nix
|
||||
./extra/webapps/jellyfin.nix
|
||||
./extra/webapps/navidrome.nix
|
||||
./extra/webapps/prowlarr.nix
|
||||
./extra/webapps/radarr.nix
|
||||
./extra/webapps/sonarr.nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue