Add audiobookshelf

This commit is contained in:
Oliver Davies 2024-12-14 20:19:42 +00:00
parent 1a14118877
commit c26e63315e
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{ config, ... }:
{
services.audiobookshelf = {
enable = true;
host = "audiobookshelf.localhost";
port = 4001;
};
services.nginx = {
enable = true;
virtualHosts."audiobookshelf.localhost" = {
locations."/" = {
proxyPass = "http://localhost:${toString config.services.audiobookshelf.port}/";
proxyWebsockets = true;
};
};
};
}

View file

@ -1,5 +1,6 @@
{
imports = [
./audiobookshelf.nix
./gitea.nix
./immich.nix
./jellyfin.nix