Baldur: cute-api

This commit is contained in:
Filippo Berto 2025-09-01 15:13:39 +02:00
parent c2676e9cbc
commit cfca836cf7
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
3 changed files with 942 additions and 14 deletions

946
flake.lock generated

File diff suppressed because it is too large Load diff

View file

@ -21,6 +21,7 @@
# agenix-shell.url = "github:aciceri/agenix-shell"; # TODO
# agenix-rekey.url = "github:oddlama/agenix-rekey"; # TODO
# emanote.url = "github:srid/emanote";
cute-api.url = "git+ssh://git@gitlab.com/bertof/cute-api.git?ref=main";
};
outputs = inputs:
@ -395,6 +396,8 @@
# ./modules/nixos/users/tiziano.nix
# S3 cache read
# ./modules/nixos/s3_cache_read.nix
inputs.cute-api.nixosModules.default
{ services.cute-api = { enable = true; host = "127.0.0.1"; }; }
] ++ homeManagerUModules ++ [{
home-manager.users.bertof = import ./instances/baldur/hm.nix;
# home-manager.users.tiziano = import ./instances/baldur/hm_tiziano.nix;

View file

@ -113,6 +113,7 @@
proxy_buffering off;
'';
};
# "ntfy.bertof.net" = ssl // {
# locations."/" = {
# proxyPass = "http://heimdall.tsn:7080/";
@ -164,6 +165,12 @@
proxyWebsockets = true;
};
};
"cute.bertof.net" = ssl // {
locations."/" = {
proxyPass = "http://127.0.0.1:4000/";
proxyWebsockets = true;
};
};
"jellyfin.bertof.net" = ssl // {
locations."/" = {
proxyPass = "http://heimdall.tsn:8096/";