added navidrome
This commit is contained in:
parent
d2d940c64c
commit
1e1c466130
2 changed files with 20 additions and 0 deletions
19
modules/navidrome.nix
Normal file
19
modules/navidrome.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.navidrome = {
|
||||
enable = true;
|
||||
settings = {
|
||||
MusicFolder = "/mnt/genc/Musik";
|
||||
};
|
||||
};
|
||||
services.nginx.virtualHosts."music.mc-fucker.cool" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:4533";
|
||||
};
|
||||
};
|
||||
# fixes failing DNS lookup
|
||||
systemd.services.navidrome.serviceConfig.BindReadOnlyPaths = [ "/etc" ];
|
||||
}
|
||||
# vim: set et ts=2 sw=2 ai:
|
||||
|
|
@ -6,6 +6,7 @@
|
|||
./modules/borg.nix
|
||||
./modules/postgresql.nix
|
||||
./modules/nextcloud.nix
|
||||
./modules/navidrome.nix
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue