infra/config/services/atuin.nix

19 lines
393 B
Nix
Raw Normal View History

2023-07-06 20:36:22 +02:00
{config, ...}: {
services.atuin = {
enable = true;
openRegistration = false;
maxHistoryLength = 1024 * 16;
port = 43473;
};
services.nginx.virtualHosts."atuin.winston.sh" = {
forceSSL = true;
enableACME = false;
useACMEHost = "winston.sh";
locations."/" = with config.services.atuin; {
proxyPass = "http://${host}:${toString port}";
};
};
}