mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 13:50:51 +01:00
18 lines
368 B
Nix
18 lines
368 B
Nix
{ 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;
|
|
};
|
|
}
|