diff options
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/shar/configuration.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/hosts/shar/configuration.nix b/hosts/shar/configuration.nix index 069ac98..a5f719b 100644 --- a/hosts/shar/configuration.nix +++ b/hosts/shar/configuration.nix @@ -148,6 +148,28 @@ ''; }; + services.caddy = { + enable = true; + + virtualHosts = { + "music.jckrinsky.net" = { + extraConfig = '' + reverse_proxy localhost:4533 + ''; + }; + }; + + services.navidrome = { + enable = true; + settings = { + MusicFolder = "/tank/media/audio"; + DataFolder = "/data/tank/navidrome"; + Address = "127.0.0.1"; + Port = 4533; + EnableTranscoding = true; + }; + }; + # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ]; |
