dotfiles/modules/audiobookshelf.nix

22 lines
293 B
Nix

{ pkgs, lib, config, ... }:
with lib;
let
port = "8999";
{
services.audiobookshelf = {
enable = true;
host = "0.0.0.0";
port = port;
};
services.caddy.virtualHosts = {
"abs.cochrun.xyz".extraConfig = ''
reverse_proxy localhost:${port}
'';
};
}