chore(gustave): intro readeck

This commit is contained in:
Luj 2024-11-01 22:43:02 +01:00
parent 3343c41223
commit 3fb9c26b9f
Signed by: luj
GPG key ID: 6FC74C847011FD83
7 changed files with 176 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{ config, ... }:
{
age.secrets."readeck-config".file = ../../secrets/readeck-config.age;
services.nginx.virtualHosts."read.luj" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:8000";
};
};
services.readeck = {
enable = true;
configPath = config.age.secrets."readeck-config".path;
};
}