diff options
| author | scouckel <james.krinsky@gmail.com> | 2026-01-12 20:04:16 -0500 |
|---|---|---|
| committer | scouckel <james.krinsky@gmail.com> | 2026-01-12 20:04:16 -0500 |
| commit | ebde0cecc823e6b535ef012d51246796cd01f24e (patch) | |
| tree | 90b28a50dced6cac159f79420985e877a5e6dbc2 | |
| parent | af5dd5ef69ab0c9656ed6cccc27b4f845b064bc1 (diff) | |
shar navidrome
| -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 = [ ... ]; |
