mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
navidrome: migrate as module
This commit is contained in:
parent
2251c22311
commit
c8cf20c2ab
2 changed files with 67 additions and 25 deletions
|
@ -1,25 +0,0 @@
|
|||
{ 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 = "media";
|
||||
icon = "music";
|
||||
link = "https://music.buehler.rocks";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue