snowfield/machines/gustave/readeck.nix

23 lines
459 B
Nix
Raw Normal View History

2025-02-02 17:44:03 +01:00
{ config, inputs, ... }:
let
inherit (import inputs.unstable { }) readeck;
in
2024-11-01 22:43:02 +01:00
{
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;
2025-02-02 17:44:03 +01:00
package = readeck;
environmentFile = config.age.secrets."readeck-config".path;
2024-11-01 22:43:02 +01:00
};
}