feat: Split all the services into their own files

This commit is contained in:
uttarayan21
2025-01-05 23:16:00 +05:30
parent 3e70fa7efb
commit 35676b7383
11 changed files with 348 additions and 295 deletions

View File

@@ -0,0 +1,21 @@
{...}: {
services = {
navidrome = {
enable = true;
settings = {
MusicFolder = "/media/music";
ReverseProxyUserHeader = "Remote-User";
ReverseProxyWhitelist = "127.0.0.1/32";
};
};
caddy = {
virtualHosts."music.darksailor.dev".extraConfig = ''
forward_auth localhost:5555 {
uri /api/authz/forward-auth
copy_headers Remote-User Remote-Groups Remote-Email Remote-Name
}
reverse_proxy localhost:4533
'';
};
};
}