summaryrefslogtreecommitdiff
path: root/hosts/shar/configuration.nix
diff options
context:
space:
mode:
authorscouckel <james.krinsky@gmail.com>2026-01-12 20:04:16 -0500
committerscouckel <james.krinsky@gmail.com>2026-01-12 20:04:16 -0500
commitebde0cecc823e6b535ef012d51246796cd01f24e (patch)
tree90b28a50dced6cac159f79420985e877a5e6dbc2 /hosts/shar/configuration.nix
parentaf5dd5ef69ab0c9656ed6cccc27b4f845b064bc1 (diff)
shar navidrome
Diffstat (limited to 'hosts/shar/configuration.nix')
-rw-r--r--hosts/shar/configuration.nix22
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 = [ ... ];