Evie Litherland-Smith
a853475779
Move (hopefully) all reverse proxies to caddy Left off adguard for now, tbd if it needs outside access Moved service expressions up a level since it was a bit unneccesary before
17 lines
388 B
Nix
17 lines
388 B
Nix
{ pkgs, ... }: {
|
|
imports = [ ./caddy.nix ];
|
|
environment.systemPackages = with pkgs; [ ffmpeg ];
|
|
services = {
|
|
navidrome = {
|
|
enable = true;
|
|
settings = {
|
|
Address = "127.0.0.1";
|
|
Port = 4533;
|
|
MusicFolder = "/media/music";
|
|
};
|
|
};
|
|
caddy.virtualHosts."music.xenia.me.uk".extraConfig =
|
|
"reverse_proxy http://localhost:4533";
|
|
};
|
|
}
|